CVE-2025-48387
June 02, 2025
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.
Affected Packages
https://github.com/mafintosh/tar-fs.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.1.3Fix Suggestion:
Update to version v2.1.3https://github.com/mafintosh/tar-fs.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.16.5Fix Suggestion:
Update to version v1.16.5https://github.com/mafintosh/tar-fs.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.0.9Fix Suggestion:
Update to version v3.0.9tar-fs (NPM):
Affected version(s) Fix Suggestion:
Update to version 3.0.9tar-fs (NPM):
Affected version(s) Fix Suggestion:
Update to version 2.1.3tar-fs (NPM):
Affected version(s) Fix Suggestion:
Update to version 1.16.5Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.28