{"id":"EUVD-2024-54315","revision":"5e843db4e981489394dc4c4e81b95e9e","records":[{"revision":"5e843db4e981489394dc4c4e81b95e9e","observedAt":"2026-11-06T22:13:45.539+00:00","statement":{"source":"euvd","id":"EUVD-2024-54315","aliases":["CVE-2024-12905","GHSA-pq67-2wwv-3xjx"],"title":"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…","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.\n\nThis 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":null}],"references":["https://github.com/mafintosh/tar-fs/commit/a1dd7e7c7f4b4a8bd2ab60f513baca573b44e2ed","https://www.seal.security/blog/a-link-to-the-past-uncovering-a-new-vulnerability-in-tar-fs"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-54315","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 27, 2025, 4:25:34 PM","dateUpdated":"Nov 3, 2025, 7:29:11 PM"},"relatedAdvisories":[{"id":"RHSA-2025:7626","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.6.0 release.","vulnerabilityIds":["CVE-2024-12905","CVE-2024-21534","CVE-2025-26791","CVE-2025-29775"]},{"id":"RHSA-2025:3932","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.20.0 release","vulnerabilityIds":["CVE-2024-12905","CVE-2025-22868","CVE-2025-22869"]},{"id":"RHSA-2026:33154","title":"Red Hat Security Advisory: Red Hat Ceph Storage","vulnerabilityIds":["CVE-2024-6345","CVE-2024-12905","CVE-2024-55565","CVE-2025-5889","CVE-2025-13465","CVE-2025-45768","CVE-2025-47913","CVE-2025-50181","CVE-2025-52555","CVE-2025-59343","CVE-2026-21441"]},{"id":"RHSA-2025:8540","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.5.2 release.","vulnerabilityIds":["CVE-2024-12905"]},{"id":"RHSA-2025:8244","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.21.0 release","vulnerabilityIds":["CVE-2024-12905","CVE-2024-45337","CVE-2024-45410","CVE-2025-22869","CVE-2025-30204"]},{"id":"msrc_CVE-2024-12905","title":"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.\n\nThis 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.","vulnerabilityIds":["CVE-2024-12905"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-54315","identifiers":["EUVD-2024-54315","CVE-2024-12905","GHSA-pq67-2wwv-3xjx"]},"retained":false,"historicalAffected":[]}],"coverage":[]}