CVE-2024-47877

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

Published Oct 11, 2024 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2999 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.
Github GHSA Github GHSA GHSA-8rm2-93mq-jqhc Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:codeclysm:extract:*:*:*:*:*:go:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
First Time appeared Codeclysm
Codeclysm extract
CPEs cpe:2.3:a:codeclysm:extract:*:*:*:*:*:*:*:*
Vendors & Products Codeclysm
Codeclysm extract
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.
Weaknesses CWE-22
CWE-61
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 11, 2024, 5:49 PM
Reserved
Oct 4, 2024, 4:00 PM
Status
Analyzed
Published
Oct 11, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:57 AM