GHSA-m9jm-rhrm-gcxj

Suggest an improvement
Source
https://github.com/advisories/GHSA-m9jm-rhrm-gcxj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-m9jm-rhrm-gcxj/GHSA-m9jm-rhrm-gcxj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m9jm-rhrm-gcxj
Aliases
Published
2018-10-18T18:05:46Z
Modified
2024-04-12T21:46:20.514646Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Path traversal in org.springframework.integration:spring-integration-zip
Details

Spring-integration-zip versions prior to 1.0.1 exposes an arbitrary file write vulnerability, which can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar, xz, war, cpio, 7z) that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder.

Database specific
{
    "nvd_published_at": "2018-05-11T20:29:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:45:41Z"
}
References

Affected packages

Maven / org.springframework.integration:spring-integration-zip

Package

Name
org.springframework.integration:spring-integration-zip
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.integration/spring-integration-zip

Affected ranges

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

Affected versions

1.*

1.0.0.RELEASE