CVE-2022-26049

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:diffplug:goomph:*:*:*:*:*:*:*:*

History

16 Sep 2022, 02:28

Type Values Removed Values Added
CWE CWE-22
First Time Diffplug goomph
Diffplug
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
CPE cpe:2.3:a:diffplug:goomph:*:*:*:*:*:*:*:*
References (MISC) https://security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040 - (MISC) https://security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040 - Exploit, Third Party Advisory
References (MISC) https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8c8 - (MISC) https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8c8 - Patch, Third Party Advisory
References (MISC) https://github.com/diffplug/goomph/pull/198 - (MISC) https://github.com/diffplug/goomph/pull/198 - Patch, Third Party Advisory

11 Sep 2022, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-09-11 14:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-26049

Mitre link : CVE-2022-26049

CVE.ORG link : CVE-2022-26049


JSON object : View

Products Affected

diffplug

  • goomph
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')