CVE-2022-25766

Remote Code Execution (RCE)

Published Mar 21, 2022 CVSS 3.1 · 8.8 High EPSS 34.5% KEV · Not listed
Description
The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hf8c-xr89-vfm5 Command Injection in ungit
History

No history.

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 10:41 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Mar 21, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:34 AM