Tar Archive Vulnerability in Astral-Tokio-Tar Library
CVE-2025-59825
What is CVE-2025-59825?
The astral-tokio-tar library for async Rust exhibits a vulnerability in versions 0.5.3 and earlier that may allow tar archives to be extracted outside their intended destination directories. This occurs through the Entry::unpack_in_raw API, which fails to enforce the security controls that limit file extraction to specific directories. Additionally, the Entry::allow_external_symlinks setting, which is enabled by default, can be bypassed. This manipulation could allow an attacker to create a malicious tar archive that performs arbitrary file writes, potentially leading to unauthorized code execution within the system. Users are strongly advised to upgrade to version 0.5.4 to mitigate this issue.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
tokio-tar < 0.5.4
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
