Vulnerability
CVE-2025-48387
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.
75 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-4g9p-x3h3-qmvp
- CGA-4wpg-jpjr-w49v
- CGA-6288-564r-63f3
- CGA-665m-w3hw-pg62
- CGA-79vm-p565-xhm5
- CGA-7xq3-w7cw-xvqq
- CGA-9h52-w28c-ffj4
- CGA-cf8h-p4c7-9q69
- CGA-hxm3-45c8-22m2
- CGA-jj55-79h6-j79q
- CGA-p8w9-pg2v-r789
- CGA-r372-mgxp-pxpr
- CGA-rvxp-4f22-c74j
References
- https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w
- https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v
- https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html