CVE-2025-62518
HIGH8.1EPSS 0.02%`tokio-tar` parses PAX extended headers incorrectly, allows file smuggling
發布日:2025/10/21修改日:2026/4/28
描述
astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives with PAX-extended headers containing size overrides, the parser incorrectly advances stream position based on ustar header size (often zero) instead of the PAX-specified size, causing it to interpret file content as legitimate tar headers. This issue has been patched in version 0.5.6. There are no workarounds.
受影響套件(6)
- crates.io/astral-tokio-tarfrom 0, < 0.5.6
- crates.io/astral-tokio-tar>= 0.0.0-0, < 0.5.6
- crates.io/tokio-tarfrom 0, <= 0.3.1
- crates.io/tokio-tar>= 0.0.0-0
- Debian/rust-astral-tokio-tarfrom 0
- PyPI/uvfrom 0, < 0.9.5
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
參考連結(16)
- ADVISORYhttps://github.com/advisories/GHSA-j5gw-2vrg-8fgx
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-62518
- PATCHhttps://crates.io/crates/astral-tokio-tar
- PATCHhttps://crates.io/crates/tokio-tar
- PATCHhttps://github.com/astral-sh/tokio-tar
- PATCHhttps://github.com/astral-sh/uv
- WEBhttps://edera.dev/stories/tarmageddon
- WEBhttps://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318
- WEBhttps://github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgx
- WEBhttps://github.com/astral-sh/uv/commit/ae450662d1546e9853f67a8c61a506d3a892d963
- WEBhttps://github.com/astral-sh/uv/pull/16387
- WEBhttps://github.com/astral-sh/uv/releases/tag/0.9.5
- WEBhttps://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9
- WEBhttps://github.com/edera-dev/cve-tarmageddon
- WEBhttps://rustsec.org/advisories/RUSTSEC-2025-0110.html
- WEBhttps://rustsec.org/advisories/RUSTSEC-2025-0111.html