Access of Resource Using Incompatible Type ('Type Confusion') Affecting astral-tokio-tar package, versions <0.6.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ASTRALTOKIOTAR-16757922
  • published19 May 2026
  • disclosed18 May 2026
  • creditwoodruffw

Introduced: 18 May 2026

New CVE NOT AVAILABLE CWE-843  (opens in a new tab)

How to fix?

Upgrade astral-tokio-tar to version 0.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') through the interpretation of PAX headers during the extraction process. An attacker can introduce unauthorized files onto the target filesystem by crafting archive entries that are selectively visible or invisible depending on the extraction tool used.

CVSS Base Scores

version 4.0
version 3.1