CVE-2022-25766
Summary
| CVE | CVE-2022-25766 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-21 18:15:00 UTC |
| Updated | 2023-08-08 14:21:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-88
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ungit Project | Ungit | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Fix potential remote code exec by jung-kim · Pull Request #1510 · FredrikNoren/ungit · GitHub | MISC | github.com | |
| github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520 | MISC | github.com | |
| Remote Code Execution (RCE) in ungit | CVE-2022-25766 | Snyk | MISC | snyk.io | |
| ungit/CHANGELOG.md at master · FredrikNoren/ungit · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
There are currently no legacy QID mappings associated with this CVE.