{"id":"UBUNTU-CVE-2025-48387","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.","modified":"2026-01-20T19:07:33.155415Z","published":"2025-06-02T20:15:00Z","upstream":["CVE-2025-48387"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48387"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387"},{"type":"REPORT","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"},{"type":"REPORT","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"}],"affected":[{"package":{"name":"node-tar-fs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-tar-fs@2.1.1-6?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-2","2.1.1-4","2.1.1-6"],"ecosystem_specific":{"binaries":[{"binary_name":"node-tar-fs","binary_version":"2.1.1-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48387.json"}},{"package":{"name":"node-tar-fs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-tar-fs@2.1.1-6?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-6"],"ecosystem_specific":{"binaries":[{"binary_name":"node-tar-fs","binary_version":"2.1.1-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48387.json"}},{"package":{"name":"node-tar-fs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-tar-fs@3.0.9+~cs2.0.4-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-6","3.0.8+~cs2.0.4-1","3.0.9+~cs2.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-tar-fs","binary_version":"3.0.9+~cs2.0.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48387.json"}}],"schema_version":"1.7.3","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"},{"type":"Ubuntu","score":"medium"}]}