cve.bz

CVE-2024-12905

7.5 highEPSS 2.3%

High (7.5). EPSS 2.3% chance of exploitation in the next 30 days. Fixed in tar-fs 1.16.4, 2.1.2, 3.0.7.

An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package. This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
2.3% chance of exploitation in the next 30 days; higher than 83% of CVEs (scores of 2026-10-31)
CWEs
CWE-22, CWE-59
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pq67-2wwv-3xjxnpmtar-fs<1.16.41.16.4
GHSA-pq67-2wwv-3xjxnpmtar-fs>=2.0.0 <2.1.22.1.2
GHSA-pq67-2wwv-3xjxnpmtar-fs>=3.0.0 <3.0.73.0.7

References

Check your stackJSON