Bug 2387190 (CVE-2025-54368) - CVE-2025-54368 uv: uv ZIP Archive Validation Vulnerability
Summary: CVE-2025-54368 uv: uv ZIP Archive Validation Vulnerability
Keywords:
Status: NEW
Alias: CVE-2025-54368
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2387241 2387242 2387243
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-08 01:01 UTC by OSIDB Bzimport
Modified: 2025-08-08 12:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-08 01:01:36 UTC
uv is a Python package and project manager written in Rust. In versions 0.8.5 and earlier, remote ZIP archives were handled in a streamwise fashion, and file entries were not reconciled against the archive's central directory. An attacker could contrive a ZIP archive that would extract with legitimate contents on some package installers, and malicious contents on others due to multiple local file entries. An attacker could  also contrive a "stacked" ZIP input with multiple internal ZIPs, which would be handled differently by different package installers. The attacker could choose which installer to target in both scenarios. This issue is fixed in version 0.8.6. To work around this issue, users may choose to set UV_INSECURE_NO_ZIP_VALIDATION=1 to revert to the previous behavior.


Note You need to log in before you can comment on or make changes to this bug.