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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2022-03-21T17:15:16.570285Z

Updated: 2024-09-16T22:41:07.983Z

Reserved: 2022-02-24T00:00:00

Link: CVE-2022-25766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-03-21T18:15:07.990

Modified: 2023-08-08T14:21:49.707

Link: CVE-2022-25766

cve-icon Redhat

No data.