CVE-2025-54368

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.
CVSS

No CVSS.

Configurations

No configuration.

History

08 Aug 2025, 20:30

Type Values Removed Values Added
Summary
  • (es) uv es un gestor de paquetes y proyectos de Python escrito en Rust. En las versiones 0.8.5 y anteriores, los archivos ZIP remotos se gestionaban de forma secuencial y las entradas de archivo no se conciliaban con el directorio central del archivo. Un atacante podría crear un archivo ZIP que extrajera contenido legítimo en algunos instaladores de paquetes y contenido malicioso en otros, debido a múltiples entradas de archivo locales. Un atacante también podría crear una entrada ZIP "apilada" con múltiples ZIP internos, que se gestionarían de forma diferente según el instalador. El atacante podría elegir el instalador objetivo en ambos casos. Este problema se ha corregido en la versión 0.8.6. Para solucionarlo, los usuarios pueden configurar UV_INSECURE_NO_ZIP_VALIDATION=1 para volver al comportamiento anterior.

08 Aug 2025, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-08 00:15

Updated : 2025-08-08 20:30


NVD link : CVE-2025-54368

Mitre link : CVE-2025-54368

CVE.ORG link : CVE-2025-54368


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation

CWE-436

Interpretation Conflict