CVE-2024-12905 in Associated products
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 di...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Associated | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-12905 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-268688-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2025-03-27 |
| Last modified | 2026-04-15 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22, CWE-59
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
Show all 8
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-12905 is a critical vulnerability in the tar-fs package, affecting versions 0.0.0 before 1.16.4, 2.0.0 before 2.1.2, and 3.0.0 before 3.0.8. This vulnerability allows an attacker to perform path traversal and unauthorized file writes when extracting a maliciously crafted tar file, potentially leading to system compromise. Given the high CVSS score and the availability of a public proof of concept, immediate action is required to mitigate this risk in ICS/OT environments.
The vulnerability is triggered when a maliciously crafted tar file is extracted using the tar-fs package. The package fails to properly resolve symbolic links and limit pathnames to a restricted directory, allowing an attacker to write or overwrite files outside the intended extraction directory. This can lead to unauthorized file modifications, potentially compromising the integrity and security of the system.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for file paths and symbolic links in the tar-fs package. Ensure that all file operations are restricted to a designated directory to prevent path traversal attacks.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-12905?
CVE-2024-12905 is a critical vulnerability in the tar-fs package, affecting versions 0.0.0 before 1.16.4, 2.0.0 before 2.1.2, and 3.0.0 before 3.0.8. This vulnerability allows an attacker to perform path traversal and unauthorized file writes when extracting a maliciously crafted tar file, potentially leading to system compromise. Given the high CVSS score and the availability of a public proof of concept, immediate action is required to mitigate this risk in ICS/OT environments.
What is the CVSS score for CVE-2024-12905?
CVE-2024-12905 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 2.6%.
Is CVE-2024-12905 actively exploited?
Public exploit available for CVE-2024-12905. Exploitation risk elevated.
How do I remediate CVE-2024-12905?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-12905?
CVE-2024-12905 affects Associated.
What NERC-CIP standard applies to CVE-2024-12905?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to electronic security perimeters, which can compromise the integrity and security of critical ICS/OT systems.
What IEC 62443 requirement maps to CVE-2024-12905?
IEC 62443 SR 7.6: This CVE maps to SR 7.6, which requires the implementation of secure software development practices to prevent vulnerabilities such as path traversal and unauthorized file access in ICS/OT systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Associated","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.