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.
Published: 2025-03-27
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4214-1 node-tar-fs security update
EUVD EUVD EUVD-2024-54315 tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File
Github GHSA Github GHSA GHSA-pq67-2wwv-3xjx tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File
History

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Fri, 06 Jun 2025 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhdh:1.5::el9

Thu, 15 May 2025 06:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhdh
CPEs cpe:/a:redhat:rhdh:1.6::el9
Vendors & Products Redhat rhdh

Sun, 20 Apr 2025 16:00:00 +0000


Wed, 16 Apr 2025 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat openshift Devspaces
CPEs cpe:/a:redhat:openshift_devspaces:3::el9
Vendors & Products Redhat
Redhat openshift Devspaces

Fri, 28 Mar 2025 13:45:00 +0000

Type Values Removed Values Added
Title tar-fs: link following and path traversal via maliciously crafted tar file
References
Metrics threat_severity

None

threat_severity

Important


Thu, 27 Mar 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Mar 2025 16:45:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Redhat Openshift Devspaces Rhdh
cve-icon MITRE

Status: PUBLISHED

Assigner: seal

Published:

Updated: 2025-11-03T19:29:11.810Z

Reserved: 2024-12-23T13:53:01.494Z

Link: CVE-2024-12905

cve-icon Vulnrichment

Updated: 2025-11-03T19:29:11.810Z

cve-icon NVD

Status : Deferred

Published: 2025-03-27T17:15:53.250

Modified: 2026-04-15T00:35:42.020

Link: CVE-2024-12905

cve-icon Redhat

Severity : Important

Publid Date: 2025-03-27T16:25:34Z

Links: CVE-2024-12905 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses