CVE-2024-12905

Exp

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.

Published: 2025-03-27 Last update: 2026-04-15 Assigner: 22e2d327-25fe-45d7-9f0c-dcd23b7108df Source: 22e2d327-25fe-45d7-9f0c-dcd23b7108df

Conclusion & alert: CVE-2024-12905 is rated High Exploit Risk (70.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.81%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-12905

EDB-ID Source Kind Published Link
52268 exploit_db edb 2025-04-22 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-12905

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-05 1.32% 0.81% -0.51%
2 2026-01-21 1.10% 1.32% +0.22%
3 2026-01-16 1.10%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-12905

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 22e2d327-25fe-45d7-9f0c-dcd23b7108df

Weakness enumeration for CVE-2024-12905

GitHub Security Advisory for CVE-2024-12905

GHSA-pq67-2wwv-3xjx · Severity: high · Ecosystem: npm — tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File

OS Trackers for CVE-2024-12905

vendor priority summary link
debian not yet assigned CVE-2024-12905 not yet assigned priority: Debian including 1 source packages (node-tar-fs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-12905
redhat high https://access.redhat.com/security/cve/CVE-2024-12905
ubuntu medium CVE-2024-12905 medium priority: Ubuntu including 1 source packages (node-tar-fs), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 4, ignored 2, DNE 1. https://ubuntu.com/security/CVE-2024-12905

Affected software / configurations for CVE-2024-12905

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-12905

cvelogic Threat Intelligence