Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Diffplug | Goomph | < 3.37.2 |
Related Weaknesses (CWE)
References
- https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8PatchThird Party Advisory
- https://github.com/diffplug/goomph/pull/198PatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040ExploitThird Party Advisory
- https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8PatchThird Party Advisory
- https://github.com/diffplug/goomph/pull/198PatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040ExploitThird Party Advisory
FAQ
What is CVE-2022-26049?
CVE-2022-26049 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 locati...
How severe is CVE-2022-26049?
CVE-2022-26049 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-26049?
Check the references section above for vendor advisories and patch information. Affected products include: Diffplug Goomph.