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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 22 Nov 2024 20:00:00 +0000

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'}


Fri, 11 Oct 2024 21:15:00 +0000

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'}


Fri, 11 Oct 2024 16:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-10-11T17:49:34.466Z

Reserved: 2024-10-04T16:00:09.630Z

Link: CVE-2024-47877

cve-icon Vulnrichment

Updated: 2024-10-11T17:49:23.469Z

cve-icon NVD

Status : Analyzed

Published: 2024-10-11T17:15:04.450

Modified: 2024-11-22T19:30:48.913

Link: CVE-2024-47877

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.