Improper Link Resolution and Path Traversal in tar-fs by Mafintosh
CVE-2024-12905
Key Information:
- Status
- Vendor
- CVE Published:
- 27 March 2025
Badges
Summary
The tar-fs package contains vulnerabilities that allow for improper link resolution before file access and improper limitations on pathnames during file extraction. By exploiting these flaws, an attacker can craft a malicious tar file, leading to unauthorized file writes or overwrites outside the intended extraction directory. This security issue specifically affects versions of the tar-fs package prior to 1.16.4, 2.1.2, and 3.0.8. Immediate updates to the latest versions are recommended to mitigate potential risks.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved