CVE-2022-26049
Summary
| CVE | CVE-2022-26049 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-11 14:15:00 UTC |
| Updated | 2022-09-16 02:28:00 UTC |
| Description | This affects the package com.diffplug.gradle:goomph before 3.37.2. It allows a malicious zip file to potentially break out of the expected destination directory, writing contents into arbitrary locations on the file system. Overwriting certain files/directories could allow an attacker to achieve remote code execution on a target system by exploiting this vulnerability. **Note:** This could have allowed a malicious zip file to extract itself into an arbitrary directory. The only file that Goomph extracts is the p2 bootstrapper and eclipse metadata files hosted at eclipse.org, which are not malicious, so the only way this vulnerability could have affected you is if you had set a custom bootstrap zip, and that zip was malicious. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Arbitrary File Write via Archive Extraction (Zip Slip) in com.diffplug.gradle:goomph | CVE-2022-26049 | Snyk | MISC | security.snyk.io | |
| [SECURITY] Fix Zip Slip Vulnerability (#198) · diffplug/goomph@25f04f6 · GitHub | MISC | github.com | |
| [SECURITY] Fix Zip Slip Vulnerability by JLLeitschuh · Pull Request #198 · diffplug/goomph · GitHub | MISC | 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: Jonathan Leitschuh
There are currently no legacy QID mappings associated with this CVE.