Skip to main content
VulnerabilityPublished Updated

CVE-2024-12905: Node tar fs · An Improper Link Resolution Before File Access ("Link Following") and Improper

Affects node-tar-fsSource GCVE Database

0
Compare
Authoritative record:CVE-2024-12905· High 7.5

Public exploit available (Exploit-DB) · CVSS 7.5 High · fixed in 2.1.1-6ubuntu0.22.04.1~esm1 : patch node-tar-fs as a priority.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (seal)CVSS 3.17.5
EPSS
2.2% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.1-6ubuntu0.22.04.1~esm1, 2.1.1-6ubuntu0.24.04.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 27 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by Seal Security

    , 94 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. First Exploit-DB entry (opens in a new tab)

    tar-fs 3.0.0 - Arbitrary File Write/Overwrite

    , 26 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu node-tar-fs to 2.1.1-6ubuntu0.22.04.1~esm1 (package) or 2.1.1-6ubuntu0.24.04.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSnode-tar-fspkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.1.1-6ubuntu0.24.04.1~esm1
Fixed in
  • 2.1.1-6ubuntu0.24.04.1~esm1
Ubuntu Pro 22.04 LTSnode-tar-fspkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.1.1-6ubuntu0.22.04.1~esm1
Fixed in
  • 2.1.1-6ubuntu0.22.04.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…