Path Traversal in Diffplug Goomph
CVE-2022-26049
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.025 · 85.2th percentile
- Published
- 2022-09-11
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.025, 85.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Diffplug Goomph
- Com.diffplug.gradle:goomph — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (shoucheng3/diffplug__goomph_CVE-2022-26049_3-37-1, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040 (Exploit, Third Party Advisory)
- github.com/diffplug/goomph/pull/198 (Patch, Third Party Advisory)
- github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8c8 (Patch, Third Party Advisory)