RUSTSEC-2025-0110

Source
https://rustsec.org/advisories/RUSTSEC-2025-0110
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0110.json
JSON Data
https://api.test.osv.dev/v1/vulns/RUSTSEC-2025-0110
Aliases
Published
2025-10-21T12:00:00Z
Modified
2025-10-25T11:44:30.398227Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
astral-tokio-tar Vulnerable to PAX Header Desynchronization
Details

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 vulnerability was disclosed to multiple Rust tar parsers, all derived from the original async-tar fork of tar-rs.

For additional information see Edera's blog post.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / astral-tokio-tar

Package

Name
astral-tokio-tar
View open source insights on deps.dev
Purl
pkg:cargo/astral-tokio-tar

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.5.6

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "functions": [],
        "os": [],
        "arch": []
    }
}

Database specific

informational

null

categories

[
    "format-injection"
]

cvss

"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"