Read the docs
TI-2024-11957 Aliases CVE-2024-12905GHSA-pq67-2wwv-3xjx

Path traversal in tar-fs

Priority MEDIUM 43CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 4 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02299 83rd percentileScored 2026-11-07
Fix Partial tar-fs: 1.16.4, 2.1.2, 3.0.8tar-fs (npm): 1.16.4, 2.1.2, 3.0.7Red Hat: 5 advisoriesRed Hat: 4 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—tar-fs0.0.0 to before 1.16.4; 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.81.16.4, 2.1.2, 3.0.8Patch availableCNA
—tar-fs (npm)before 1.16.41.16.4Patch availableGHSA-pq67-2wwv-3xjx
—tar-fs (npm)2.0.0 to before 2.1.22.1.2Patch availableGHSA-pq67-2wwv-3xjx
—tar-fs (npm)3.0.0 to before 3.0.73.0.7Patch availableGHSA-pq67-2wwv-3xjx
  • tar-fs Vendor— Affected 0.0.0 to before 1.16.4; 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.8 Fixed in 1.16.4, 2.1.2, 3.0.8 Patch available CNA
  • tar-fs (npm) Vendor— Affected before 1.16.4 Fixed in 1.16.4 Patch available GHSA-pq67-2wwv-3xjx
  • tar-fs (npm) Vendor— Affected 2.0.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-pq67-2wwv-3xjx
  • tar-fs (npm) Vendor— Affected 3.0.0 to before 3.0.7 Fixed in 3.0.7 Patch available GHSA-pq67-2wwv-3xjx

Remediation

  • Fix · CNA tar-fs Fixed in 1.16.4, 2.1.2, 3.0.8
  • Fix · GHSA-pq67-2wwv-3xjx tar-fs (npm) Fixed in 1.16.4 Advisory →
  • Fix · GHSA-pq67-2wwv-3xjx tar-fs (npm) Fixed in 2.1.2 Advisory →
  • Fix · GHSA-pq67-2wwv-3xjx tar-fs (npm) Fixed in 3.0.7 Advisory →

Red Hat 5 advisories

  • RHSA-2026:33154 Released 2026-06-29 · Red Hat rating Important
    Red Hat Ceph Storage
    • Red Hat Ceph Storage 7.1 registry.redhat.io/rhceph/grafana-rhel9, registry.redhat.io/rhceph/rhceph-7-rhel9
  • RHSA-2025:8540 Released 2025-06-04 · Red Hat rating Important
    Red Hat Developer Hub 1.5.2 release.
    • Red Hat Developer Hub 1.5 registry.redhat.io/rhdh/rhdh-hub-rhel9
  • RHSA-2025:8244 Released 2025-05-28 · Red Hat rating Important
    Red Hat OpenShift Dev Spaces 3.21.0 release
    • Red Hat OpenShift Dev Spaces 3 devspaces-tech-preview/idea-rhel9, devspaces-tech-preview/jetbrains-ide-rhel9, devspaces/code-rhel9 +11
Show 2 more Red Hat advisories
  • RHSA-2025:7626 Released 2025-05-14 · Red Hat rating Important
    Red Hat Developer Hub 1.6.0 release.
    • Red Hat Developer Hub 1.6 registry.redhat.io/rhdh/rhdh-hub-rhel9
  • RHSA-2025:3932 Released 2025-04-16 · Red Hat rating Important
    Red Hat OpenShift Dev Spaces 3.20.0 release
    • Red Hat OpenShift Dev Spaces 3 devspaces/devspaces-rhel9-operator, devspaces/pluginregistry-rhel9

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 7AffectedNo fix yet
Red Hat Ceph Storage 8AffectedNo fix yet
Red Hat Ceph Storage 9AffectedNo fix yet
Red Hat Ceph Storage 7.1Fixed RHSA-2026:33154
Red Hat Developer Hub 1.5Fixed RHSA-2025:8540
Red Hat Developer Hub 1.6Fixed RHSA-2025:7626
Red Hat OpenShift Dev Spaces 3Fixed RHSA-2025:3932, RHSA-2025:8244
Not affected: 4 products
  • Red Hat Ceph Storage 7.1
  • Red Hat Developer Hub 1.5
  • Red Hat Developer Hub 1.6
  • Red Hat OpenShift Dev Spaces 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-12905
  2. 2026-10-03 Alias added: GHSA-pq67-2wwv-3xjx
  3. 2026-10-13 Affected versions changed · Red Hat

References

Sources