CVE-2022-25766

published 21 Mar 2022 · updated 16 Sep 2024

Remote Code Execution (RCE)

9.3CriticalCVSS 8.8EPSS 35%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 35%. Fixed in 1.5.20.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<1.5.201.5.20

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25766 severity on Zeptric[![CVE-2022-25766](https://zeptric.io/badge/cve/CVE-2022-25766.svg)](https://zeptric.io/cve/CVE-2022-25766)