Vulnerability in Ungit Project

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.

EPSS: 0.339 (98.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • report@snyk.io (Third Party Advisory, x_refsource_MISC, Release Notes)
  • report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
  • report@snyk.io (Third Party Advisory, x_refsource_MISC, Release Notes, Broken Link)

Frequently asked questions

What is CVE-2022-25766?
CVE-2022-25766 is a high-severity vulnerability in Ungit Project, classified under Argument Injection. CVSS score: 8.8/10. Published 2022-03-21.
How severe is CVE-2022-25766?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2022-25766 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.