{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-48387","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-05-19T15:46:00.397Z","datePublished":"2025-06-02T19:20:18.220Z","dateUpdated":"2025-11-03T20:04:45.253Z"},"containers":{"cna":{"title":"tar-fs has issue where extract can write outside the specified dir with a specific tarball","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"name":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w","tags":["x_refsource_MISC"],"url":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w"},{"name":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f","tags":["x_refsource_MISC"],"url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"}],"affected":[{"vendor":"mafintosh","product":"tar-fs","versions":[{"version":"< 1.16.5","status":"affected"},{"version":">= 2.0.0, < 2.1.3","status":"affected"},{"version":">= 3.0.0, < 3.0.9","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-08-14T19:26:29.851Z"},"descriptions":[{"lang":"en","value":"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":{"advisory":"GHSA-8cj5-5rvv-wf4v","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-03T02:03:18.780964Z","id":"CVE-2025-48387","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-08-19T13:44:57.260Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T20:04:45.253Z"}}]}}