Security mailing lists by PureSourceCode

CVE-2024-47877

MEDIUM 6.9CVSS 4.0

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

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.

Published
11 Oct 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-61
Also known as
GHSA-8rm2-93mq-jqhcGO-2024-3196
Sources
NVDJSONOSV GHSA-8rm2-93mq-jqhcJSONOSV GO-2024-3196JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.9 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD codeclysm extract
cpe:2.3:a:codeclysm:extract:*:*:*:*:*:go:*:*
< 4.0.0 4.0.0
OSV Go github.com/codeclysm/extract/v3 <= 3.1.1
OSV Go github.com/codeclysm/extract/v4 < 4.0.0 4.0.0
OSV Go github.com/codeclysm/extract <= 2.2.0
OSV Go github.com/codeclysm/extract all versions
OSV Go github.com/codeclysm/extract/v3 all versions

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 11 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Oct 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.