Description
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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v
Vendor Advisory x_refsource_misc
https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w
Patch x_refsource_misc
https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f
Scores
CVSS v4
8.7
EPSS
0.0100
EPSS Percentile
77.1%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (4)
mafintosh/tar-fs
< 1.16.5
mafintosh/tar-fs
>= 2.0.0, < 2.1.3
mafintosh/tar-fs
>= 3.0.0, < 3.0.9
npm/tar-fs
0 - 1.16.5npm
Published
Jun 02, 2025
Tracked Since
Feb 18, 2026