tar-fs has issue where extract can write outside the specified dir with a specific tarball
Summary
tar-fs has issue where extract can write outside the specified dir with a specific tarball
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-48387 node-tar-fs Fixed in: 2.1.3-0+deb11u1
- Ubuntu UBUNTU-CVE-2025-48387 node-tar-fs
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web lists.debian.org