GHSA-RR42-H8R2-F28G
Unbounded BasicAuth password length gives ~1857x CPU amplification through MD5-crypt, pre-authentication
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v2.11.62 | github.com/traefik/traefik/v2 · -3 d desde divulgación | |
| Divulgación | Publicada | GHSA-RR42-H8R2-F28G divulgada · CVSS 6.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
There is a potential vulnerability in Traefik's BasicAuth middleware. The middleware does not limit the length of the password before it hashes it, and the MD5-crypt hash formats (`$apr1$`, `$1$`) take more CPU time as the password gets longer. An unauthenticated attacker can send requests with passwords up to the entry point `maxHeaderBytes` limit (1 MiB by default) and use a large amount of CPU on each request, which degrades the availability of Traefik. The patched versions reject passwords longer than 1024 bytes.
Patches
- https://github.com/traefik/traefik/releases/tag/v2.11.62
- https://github.com/traefik/traefik/releases/tag/v3.7.18
- https://github.com/traefik/traefik/releases/tag/v3.8.0-rc.2
For more information
If you have any questions or comments about this advisory, please open an issue https://github.com/traefik/traefik/issues.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/traefik/traefik/v2 |
Corregida | v2.11.62 | -3 d | v2.11.63 no afectada |
gogithub.com/traefik/traefik/v3 |
Sin parche | — | — | v3.7.19 no afectada |
v2.11.62Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/traefik/traefik/security/advisories/GHSA-rr42-h8r2-f28gLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
