CVE-2025-62518
`tokio-tar` parses PAX extended headers incorrectly, allows file smuggling
描述
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.
如何修補 CVE-2025-62518
要修補 CVE-2025-62518,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 0.9.5 或更新版本
- —升級至 0.5.6 或更新版本
- —升級至 0.5.6 或更新版本
- —未列出修補版本
- —未列出修補版本
CVE-2025-62518 正在被利用嗎?
低 — EPSS 為 0.7%,目前沒有觀察到大規模利用活動。
受影響套件(6)
- from 0
- from 0, < 0.9.5
- from 0, < 0.5.6
- >= 0.0.0-0, < 0.5.6
- from 0, <= 0.3.1
- >= 0.0.0-0
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 |