{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-12905","published":"2025-03-27T17:15:53.250000Z","last_modified":"2026-06-17T07:00:44.367000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"22e2d327-25fe-45d7-9f0c-dcd23b7108df","primary":false},"auth":false,"cwes":["CWE-22","CWE-59"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.02603,"percentile":0.86127,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pq67-2wwv-3xjx","ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"introduced":"0","fixed":"1.16.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pq67-2wwv-3xjx","ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"introduced":"2.0.0","fixed":"2.1.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pq67-2wwv-3xjx","ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"introduced":"3.0.0","fixed":"3.0.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2024-12905/","html_en":"/en/cve/CVE-2024-12905/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-12905","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-12905"},"untrusted":{"desc_en":"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.","affected":[],"references":[{"url":"https://github.com/mafintosh/tar-fs/commit/a1dd7e7c7f4b4a8bd2ab60f513baca573b44e2ed","tags":[]},{"url":"https://www.seal.security/blog/a-link-to-the-past-uncovering-a-new-vulnerability-in-tar-fs","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html","tags":[]}]}}