Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN2NmgtaHFtNC0ycmc2
Arbitrary File Write in adm-zip
Versions of adm-zip
before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (../../file.txt
for example).
Recommendation
Update to version 0.4.9 or later.
Permalink: https://github.com/advisories/GHSA-3v6h-hqm4-2rg6JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN2NmgtaHFtNC0ycmc2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
CVSS Score: 5.5
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Identifiers: GHSA-3v6h-hqm4-2rg6, CVE-2018-1002204
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002204
- https://github.com/cthackers/adm-zip/pull/212
- https://github.com/advisories/GHSA-3v6h-hqm4-2rg6
- https://snyk.io/research/zip-slip-vulnerability
- https://www.npmjs.com/advisories/681
- https://hackerone.com/reports/362118
- https://www.npmjs.com/advisories/994
- https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/vuln/npm:adm-zip:20180415
- http://www.securityfocus.com/bid/107001
Blast Radius: 31.9
Affected Packages
npm:adm-zip
Dependent packages: 3,653Dependent repositories: 638,820
Downloads: 24,957,682 last month
Affected Version Ranges: < 0.4.11
Fixed in: 0.4.11
All affected versions: 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10
All unaffected versions: 0.4.11, 0.4.13, 0.4.14, 0.4.16, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.5.14, 0.5.15, 0.5.16