Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mholt/archiver
  4. ›
  5. CVE-2018-1002207

CVE-2018-1002207: Path Traversal

July 25, 2018 (updated October 9, 2019)

mholt/archiver golang package before is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as ‘Zip-Slip’.

References

  • github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3
  • github.com/mholt/archiver/pull/65
  • nvd.nist.gov/vuln/detail/CVE-2018-1002207

Code Behaviors & Features

Detect and mitigate CVE-2018-1002207 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.0

Fixed versions

  • v2.1.0

Solution

Upgrade to version 2.1.0+incompatible or above.

Impact 5.5 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/mholt/archiver/CVE-2018-1002207.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:38 +0000.