{"id":"CVE-2025-48387","summary":"tar-fs has issue where extract can write outside the specified dir with a specific tarball","details":"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.","aliases":["GHSA-8cj5-5rvv-wf4v"],"modified":"2026-04-10T04:15:39.669576Z","published":"2025-06-02T19:20:18.220Z","related":["CGA-8m82-xm45-jv83","GHSA-8cj5-5rvv-wf4v","GHSA-xrg4-qp5w-2c3w","MGASA-2025-0194"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48387.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48387.json"},{"type":"ADVISORY","url":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w"},{"type":"ADVISORY","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48387"},{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"0"},{"fixed":"647447b572bc135c41035e82ca7b894f02b17f0f"}]}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.7","v0.1.8","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.5.2","v1.0.0","v1.1.0","v1.10.0","v1.11.0","v1.11.1","v1.12.0","v1.13.0","v1.13.1","v1.13.2","v1.14.0","v1.15.0","v1.15.1","v1.15.2","v1.15.3","v1.16.0","v1.16.1","v1.16.2","v1.16.3","v1.2.0","v1.3.0","v1.4.0","v1.4.1","v1.4.2","v1.5.0","v1.5.1","v1.6.0","v1.7.0","v1.8.0","v1.8.1","v1.9.0","v2.0.0","v2.0.1","v2.1.0","v2.1.1","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48387.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}