CVE-2018-1002204

Source
https://cve.org/CVERecord?id=CVE-2018-1002204
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002204.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1002204
Aliases
Downstream
CLSA (2)
Published
2018-07-25T17:29:01Z
Modified
2026-10-20T10:49:41Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

adm-zip npm library before 0.4.9 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

References

Affected packages

Git / github.com/cthackers/adm-zip

Affected ranges

Type
GIT
Repo
https://github.com/cthackers/adm-zip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:adm-zip_project:adm-zip:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.4.9"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "62f64004fefb894c523a7143e8a88ebe6c84df25"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.1.1
v0.1.2
v0.1.3
v0.1.5
v0.1.7
v0.1.8
v0.1.9
v0.2.1
v0.3.1
v0.3.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002204.json"