Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mholt/archiver/cmd/arc
  4. ›
  5. CVE-2019-10743

CVE-2019-10743: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 18, 2021

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.

References

  • github.com/advisories/GHSA-h74j-692g-48mq
  • github.com/mholt/archiver/commit/8217ed3a206c0473b4ec1aff51375b398838073a
  • github.com/mholt/archiver/pull/169
  • github.com/mholt/archiver/pull/203
  • github.com/snyk/zip-slip-vulnerability
  • nvd.nist.gov/vuln/detail/CVE-2019-10743

Code Behaviors & Features

Detect and mitigate CVE-2019-10743 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.3.2

Fixed versions

  • 3.3.2

Solution

Upgrade to version 3.3.2 or above.

Impact 5.5 MEDIUM

CVSS:3.1/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')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/mholt/archiver/cmd/arc/CVE-2019-10743.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:50 +0000.