CVE-2024-12905
CVSS v3
7.5
HIGH
EPSS Score
2.3 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for tar-fs.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- tar-fsnpmfrom 3.0.0 · fixed in 3.0.7
Vendor advisories
tar-fs: link following and path traversal via maliciously crafted tar file
ceph-base as a component of Red Hat Ceph Storage 7 · ceph-common as a component of Red Hat Ceph Storage 7 · ceph-fuse as a component of Red Hat Ceph Storage 7
Red Hat Security Advisory: Red Hat Ceph Storage
Red Hat Security Advisory: Red Hat Developer Hub 1.5.2 release.
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.21.0 release
Red Hat Security Advisory: Red Hat Developer Hub 1.6.0 release.
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.20.0 release
Description
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.
Technical details
- Published
- 2025-03-27
- Exploit-DB
- EDB-52268
Frequently asked questions
What is CVE-2024-12905?
Is CVE-2024-12905 actively exploited?
What is the CVSS score for CVE-2024-12905?
Running tar-fs? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.