{"id":"EUVD-2025-30897","enisaUuid":"21dd2b69-2d4c-3ad3-be51-b8f69b6f39da","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.","datePublished":"Sep 23, 2025, 8:00:44 PM","dateUpdated":"Sep 24, 2025, 6:41:57 PM","baseScore":6.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv\nhttps://github.com/astral-sh/uv/issues/12163\nhttps://github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75\n","aliases":"CVE-2025-59825\nGHSA-3wgq-wrwc-vqmv\n","assigner":"GitHub_M","epss":0.22,"enisaIdProduct":[{"id":"0237a3c3-5a00-3b73-9ee3-01748a44651a","product":{"name":"tokio-tar","vendor":{"name":"astral-sh"}},"product_version":"\u003c 0.5.4"}],"enisaIdVendor":[{"id":"7a203cb9-ba93-3cc2-9d00-556307412928","vendor":{"name":"astral-sh"}}],"enisaIdVulnerability":[{"id":"2950d841-bbc2-3254-b9c3-4cd224247f07","vulnerability":{"id":"CVE-2025-59825","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.","datePublished":"Sep 23, 2025, 8:00:44 PM","dateUpdated":"Sep 24, 2025, 6:41:57 PM","status":"PUBLISHED","baseScore":6.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv\nhttps://github.com/astral-sh/uv/issues/12163\nhttps://github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75\n","enisa_id":"EUVD-2025-30897\n","assigner":"GitHub_M","epss":0.22,"dataProcessed":"Oct 31, 2026, 7:14:03 AM","vulnerabilityProduct":[{"id":"bb497129-5713-3337-a6a0-074554489074","product":{"name":"tokio-tar","vendor":{"name":"astral-sh"}},"product_version":"\u003c 0.5.4"},{"id":"c29c4a72-b653-4bb8-b538-5b61d410d899","product":{"name":"tokio-tar","vendor":{"name":"astral-sh"}},"product_version":"\u003c 0.5.4"}],"vulnerabilityVendor":[{"id":"52b6801b-b432-3fd4-b766-9418c5380b9f","vendor":{"name":"astral-sh"}}]}},{"id":"a95cf428-dc0f-3564-8503-48d68f742590","vulnerability":{"id":"GHSA-3wgq-wrwc-vqmv","description":"astral-tokio-tar has a path traversal in tar extraction","datePublished":"Sep 23, 2025, 5:45:07 PM","dateUpdated":"Nov 18, 2025, 4:40:30 PM","baseScore":0.0,"references":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv\nhttps://github.com/google/security-research/security/advisories/GHSA-9p78-p5g6-gcj8\nhttps://github.com/astral-sh/uv/issues/12163\nhttps://github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75\nhttps://github.com/astral-sh/tokio-tar\n","enisa_id":"EUVD-2025-30897\n","aliases":"CVE-2025-59825\nGHSA-3wgq-wrwc-vqmv\n","epss":0.0,"dataProcessed":"Nov 1, 2026, 1:55:38 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"7f1ef669-8b18-36ea-ba25-d38a06a873a7","advisory":{"id":"msrc_CVE-2025-59825","description":"astral-tokio-tar has a path traversal in tar extraction","datePublished":"Sep 2, 2025, 12:00:00 AM","dateUpdated":"Jan 20, 2026, 2:43:21 PM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-59825.json\n","aliases":"CVE-2025-59825\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"4f033221-205a-3e01-9091-4cc79392a0fc","product":{"name":"azl3 kata-containers-cc 3.15.0.aks0-5","vendor":{"name":"Microsoft"}}},{"id":"654dbad9-0f75-3d6d-8d0e-d1af44f99220","product":{"name":"3.0","vendor":{"name":"Wind River"}}},{"id":"6f1f0978-63fa-355d-a47e-426742b8ce79","product":{"name":"kata-containers-cc","vendor":{"name":"Microsoft"}}},{"id":"e95b5357-c8df-3f1e-ac12-ee81604d0259","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}}]}}]}