Remote Code Execution (RCE)
cve-program · CVE-2022-25766
PublishedThe 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.
Read the publisher's advisoryeuvd · EUVD-2022-1441
PublishedThe 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.
Read the publisher's advisorynvd · CVE-2022-25766
PublishedThe 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.
Read the publisher's advisoryosv · GHSA-hf8c-xr89-vfm5
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2022-25766 · CVE overview and exploitation status
cve-program · CVE-2022-25766
- https://snyk.io/vuln/SNYK-JS-UNGIT-2414099
- https://github.com/FredrikNoren/ungit/pull/1510
- https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520
euvd · EUVD-2022-1441
- https://snyk.io/vuln/SNYK-JS-UNGIT-2414099
- https://github.com/FredrikNoren/ungit/pull/1510
- https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520
nvd · CVE-2022-25766
- https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520
- https://github.com/FredrikNoren/ungit/pull/1510
- https://snyk.io/vuln/SNYK-JS-UNGIT-2414099
osv · GHSA-hf8c-xr89-vfm5
Related changes
Linked by CVE identifierNo related changes are available here.