Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2022-25766 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520 | CVE | Broken LinkRelease NotesThird Party Advisory |
| https://github.com/FredrikNoren/ungit/pull/1510 | CVE | ExploitPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-UNGIT-2414099 | CVE | Release NotesThird Party Advisory |
| https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520 | [email protected] | Broken LinkRelease NotesThird Party Advisory |
| https://github.com/FredrikNoren/ungit/pull/1510 | [email protected] | ExploitPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-UNGIT-2414099 | [email protected] | Release NotesThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ungit project ungit | < 1.5.20 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2023 | CWE Remap | [email protected] |
| Mar 28, 2022 | Initial Analysis | [email protected] |