Vulnerability

CVE-2022-25766

highCVSS 3.1 8.8Published 21 Mar 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ungit Project ungit

Weakness type

References

  • github.com /FredrikNoren/ungit/blob/master/CHANGELOG.md%231520
  • github.com /FredrikNoren/ungit/pull/1510
  • snyk.io /vuln/SNYK-JS-UNGIT-2414099

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning