{"id":"EUVD-2025-30897","revision":"e91d26b4f1644868be10fecd372cd841","records":[{"revision":"e91d26b4f1644868be10fecd372cd841","observedAt":"2026-10-29T23:58:24.958+00:00","statement":{"source":"euvd","id":"EUVD-2025-30897","aliases":["CVE-2025-59825","GHSA-3wgq-wrwc-vqmv"],"title":"astral-tokio-tar is a tar archive reading/writing library for async Rust. In versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the Entry::unpack_in_raw API. A…","description":"astral-tokio-tar is a tar archive reading/writing library for async Rust. In versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the Entry::unpack_in_raw API. Additionally, the Entry::allow_external_symlinks control (which defaults to true) could be bypassed via a pair of symlinks that individually point within the destination but combine to point outside of it. These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution. This issue has been patched in version 0.5.4. There is no workaround other than upgrading.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","score":6.1,"severity":null}],"references":["https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv","https://github.com/astral-sh/uv/issues/12163","https://github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-30897","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 23, 2025, 8:00:44 PM","dateUpdated":"Sep 24, 2025, 6:41:57 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2025-59825","title":"astral-tokio-tar has a path traversal in tar extraction","vulnerabilityIds":["CVE-2025-59825"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-30897","identifiers":["EUVD-2025-30897","CVE-2025-59825","GHSA-3wgq-wrwc-vqmv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}