CVE-2022-26049

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductDiffplug Goomph
PublishedSep 11, 2022
First seenSep 11, 2022

How to fix

Update
  • diffplug goomph3.37.2 or later
  • com.diffplug.gradle:goomph3.37.2 or later

Affected products

ProductAffected versionsFixed in
diffplug goomphv < 3.37.23.37.2
com.diffplug.gradle:goomphMavenv < 3.37.23.37.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.