Amenazas en vivo

Todas las CVE / Rust-lang

CVE-2026-5222Rust-lang Cargo

Baja 2.3 Sin autenticación

Prioridad
29
CVSS 4.0
2.3
EPSS
—
Requiere autenticación
No
Publicada
25 may 2026
Actualizada
23 jul 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-647
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Cargo.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
crates.io cargo < 0.97.0 0.97.0 cargo update -p cargo --precise 0.97.0

Según OSV / GitHub Advisories (GHSA-p688-r7jv-fm6f). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
rust-langcargo≥ 1.68.0 < 1.96.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.