GHSA-p2f7-9cv7-jjf6

Suggest an improvement
Source
https://github.com/advisories/GHSA-p2f7-9cv7-jjf6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-p2f7-9cv7-jjf6/GHSA-p2f7-9cv7-jjf6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p2f7-9cv7-jjf6
Aliases
Published
2022-09-12T00:00:33Z
Modified
2023-11-08T04:08:53.185944Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Goomph before 3.37.2 allows malicious zip file to write contents to arbitrary locations
Details

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.

Database specific
{
    "nvd_published_at": "2022-09-11T14:15:00Z",
    "github_reviewed_at": "2022-09-15T03:28:31Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Maven / com.diffplug.gradle:goomph

Package

Name
com.diffplug.gradle:goomph
View open source insights on deps.dev
Purl
pkg:maven/com.diffplug.gradle/goomph

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.37.2

Affected versions

0.*

0.1.0

1.*

1.0.0
1.0.1
1.1.0
1.2.0
1.3.0
1.3.1

2.*

2.0.0
2.1.0
2.1.1

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
3.1.2
3.2.0
3.2.1
3.3.0
3.4.0
3.5.0
3.6.0
3.7.0
3.7.1
3.7.2
3.7.3
3.8.0
3.8.1
3.9.0
3.9.1
3.10.0
3.11.0
3.11.1
3.12.0
3.13.0
3.14.0
3.15.0
3.16.0
3.17.0
3.17.1
3.17.2
3.17.3
3.17.4
3.17.5
3.17.6
3.17.7
3.18.0
3.18.1
3.20.0
3.21.0
3.22.0
3.23.0
3.24.0
3.25.0
3.26.0
3.26.1
3.27.0
3.28.0
3.28.2
3.29.0
3.29.1
3.30.1
3.30.2
3.31.0
3.32.0
3.32.1
3.32.2
3.33.0
3.33.1
3.33.2
3.33.3
3.34.0
3.34.1
3.35.0
3.36.0
3.36.1
3.36.2
3.37.0
3.37.1