Vulnerability DatabaseGHSA-w476-p2h3-79g9

GHSA-w476-p2h3-79g9
Python vulnerability analysis and mitigation

Overview

A vulnerability in astral-tokio-tar (versions <= 0.5.5) was discovered that allows attackers to exploit inconsistent PAX/ustar header handling in tar archives. The vulnerability, identified as GHSA-w476-p2h3-79g9, was discovered on August 21, 2025, and publicly disclosed on October 21, 2025. The issue affects multiple systems including uv package manager and various Red Hat products (GitHub Advisory).

Technical details

The vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file boundaries. 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. The vulnerability has been assigned a CVSS score of 8.1 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N and is classified as CWE-843 (Access of Resource Using Incompatible Type) (GitHub Advisory).

Impact

The impact varies depending on implementation. For astral-tokio-tar, if used to extract untrusted inputs, it may result in unexpected attacker-controlled access to the filesystem, potentially leading to arbitrary code execution or credential exfiltration. For uv, the impact is considered low since it only processes tar archives from source distributions, which already possess full arbitrary code execution capabilities by design (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to astral-tokio-tar version 0.5.6 or newer, and uv version 0.9.5 or newer to address this vulnerability. There are no alternative workarounds available other than upgrading (GitHub Advisory, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62515CRITICAL9.8
  • PythonPython
  • pyquokka
NoNoOct 17, 2025
CVE-2025-62527HIGH7.1
  • PythonPython
  • taguette
NoYesOct 20, 2025
GHSA-cq46-m9x9-j8w2MEDIUM5.4
  • PythonPython
  • scapy
NoNoOct 22, 2025
CVE-2025-62528MEDIUM5.4
  • PythonPython
  • taguette
NoYesOct 20, 2025
GHSA-w476-p2h3-79g9LOWN/A
  • PythonPython
  • uv
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management