CVE-2022-26049

MEDIUM

com.diffplug.gradle:goomph <3.37.2 - Code Injection

Title source: llm

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.

Exploits (1)

nomisec WRITEUP
by shoucheng3 · poc
https://github.com/shoucheng3/diffplug__goomph_CVE-2022-26049_3-37-1

Scores

CVSS v3 5.3
EPSS 0.0165
EPSS Percentile 82.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-22
Status published
Products (2)
com.diffplug.gradle/goomph 0 - 3.37.2Maven
diffplug/goomph < 3.37.2
Published Sep 11, 2022
Tracked Since Feb 18, 2026