GHSA-fp55-jw48-c537: Astral tokio tar Astral-tokio-tar Is Vulnerable To PAX Vulnerability
MODERATEGHSA-fp55-jw48-c537 is a MODERATE astral-tokio-tar is vulnerable to pax vulnerability (CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')) affecting Astral tokio tar libraries in the crates.io ecosystem. The issue involves astral-tokio-tar is vulnerable to pax header desynchronization. Remediation is available by upgrading affected packages to version 0.6.1.
GHSA-fp55-jw48-c537 at a Glance
How to Fix GHSA-fp55-jw48-c537
To remediate this vulnerability, upgrade all affected Astral tokio tar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade astral-tokio-tar to 0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for astral-tokio-tar
How to Check if You Are Affected
To determine whether your application is affected by GHSA-fp55-jw48-c537, inspect your project dependencies for Astral tokio tar:
inspect dependencies for astral-tokio-tar
Analyze the terminal output to locate any version of Astral tokio tar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion'), where the product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. In Astral tokio tar, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-fp55-jw48-c537 Affected Astral tokio tar Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
astral-tokio-tar
|
crates.io |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is GHSA-fp55-jw48-c537?
Which Astral tokio tar versions are affected?
What version fixes GHSA-fp55-jw48-c537?
Is astral-tokio-tar affected?
What CWE is associated with GHSA-fp55-jw48-c537?
How can I check crates.io dependencies for GHSA-fp55-jw48-c537?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fp55-jw48-c537",
"modified" : "2026-05-06T17:26:12Z",
"published" : "2026-05-06T17:26:12Z",
"aliases" : [ ],
"summary" : "astral-tokio-tar is Vulnerable to PAX Header Desynchronization",
"details" : "### Impact\n\nVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem.\n\nSee GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar.\n\n### Patches\n\nVersions 0.6.1 and newer of astral-tokio-tar address this differential.\n\n### Workarounds\n\nUsers are advised to upgrade to version 0.6.1 or newer to address this advisory.\n\nThere is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade.\n\n### Resources\n\n- GHSA-j5gw-2vrg-8fgx is a similar PAX desynchronization bug\n\n### Attribution\n\n- Reporter: Adam Harvey (@lawngnome)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "astral-tokio-tar"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.6.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-fp55-jw48-c537"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-fp55-jw48-c537"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/astral-sh/tokio-tar"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0112.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-843" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T17:26:12Z",
"nvd_published_at" : null
}
}