CVE-2022-25766
Last modified
CVE-2022-25766 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 33.89% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ungit Project | Ungit | < 1.5.20 |
References
- https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520Broken Link, Release Notes, Third Party Advisory
- https://github.com/FredrikNoren/ungit/pull/1510Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-UNGIT-2414099Release Notes, Third Party Advisory
- https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520Broken Link, Release Notes, Third Party Advisory
- https://github.com/FredrikNoren/ungit/pull/1510Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-UNGIT-2414099Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25766?
How severe is CVE-2022-25766?
How do I fix CVE-2022-25766?
Are you affected by CVE-2022-25766?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
