Skip to content

← Public intelligence

Go package

github.com/mholt/archiver

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.5GoPublished

    Arbitrary File Write via Archive Extraction in mholt/archiver

    CVE-2018-1002207 · GHSA-5wmg-j84w-4jj4

    Affected
    • Go github.com/mholt/archiver < 2.1.0
    Fixed in
    2.1.0· Vendor fix available
    Issue
    mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 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'.

    Recommended action: Upgrade to 2.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.5GoPublished

    Path Traversal in MHolt Archiver

    CVE-2019-10743 · GHSA-h74j-692g-48mq

    Affected
    • Go github.com/mholt/archiver >= 3.0.0, < 3.3.2
    Fixed in
    3.3.2· Vendor fix available
    Issue
    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. Specific Go Packages Affected github.com/mholt/archiver/cmd/arc

    Recommended action: Upgrade to 3.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →