ADVISORIES

Vulnerability

CVE-2024-47877

Extract is aA Go library to extract archives in zip, tar.gz or tar.bz2 formats. A maliciously crafted archive may allow an attacker to create a symlink outside the extraction target directory. This vulnerability is fixed in 4.0.0. If you're using the Extractor.FS interface, then upgrading to /v4 will require to implement the new methods that have been added.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Go 2SUSE 2openSUSE 2

Advisories in Go

  • GHSA-8rm2-93mq-jqhc

    Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.

    Moderate CVE-2024-47877 Go Updated 15 October 2024
  • GO-2024-3196

    Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory. in github.com/codeclysm/extract

    CVE-2024-47877 Go Updated 3 March 2026

References