CVE-2022-25766

HIGHCVSS 8.8/10EPSS 33.89%

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
8.8/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
33.89%

98.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Ungit ProjectUngit< 1.5.20

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-25766?
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.
How severe is CVE-2022-25766?
CVE-2022-25766 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 33.89% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25766?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-25766?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST