VYPR
Moderate severityNVD Advisory· Published Oct 11, 2024· Updated Oct 11, 2024

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

CVE-2024-47877

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/codeclysm/extract/v3Go
<= 3.1.1
github.com/codeclysm/extract/v4Go
< 4.0.04.0.0
github.com/codeclysm/extractGo
<= 2.2.0

Affected products

10

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.