CVE-2019-10743
Description
All versions of archiver allow attacker to perform a Zip Slip attack via the "unarchive" functions. It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a "../../file.exe" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2019-10-28Published by the CNA22:09 UTC
- 2021-05-18GitHub advisory published (GHSA-h74j-692g-48mq)568 days after publication
Exploit and advisory records
GitHub advisory GHSA-h74j-692g-48mq, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/mholt/archiver | from 3.0.0 before 3.3.2 | 3.3.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| archiver_project archiver | from 3.0.0 before 3.3.2fixed in 3.3.2 | 3.3.2 |
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARC-174728
- https://github.com/mholt/archiver/pull/169
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARC-174728%2C
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-10743'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-10743'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-10743'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-10743'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).