GHSA-CP28-5662-543F
sanitizePath does not remove path-parameter dot-segments (/..;x/), enabling path-based authorization bypass
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/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-CP28-5662-543F divulgada · CVSS 7.8 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
There is a vulnerability in Traefik's request path sanitization. The `sanitizePath` entry point option, enabled by default, resolves the `..` and `.` dot-segments and removes the duplicate slashes from the request path before routing, but it leaves a dot-segment carrying a path parameter, such as `/..;x/`, untouched. Traefik matches its routers and applies its middlewares on this unresolved path and forwards it unchanged. When a backend that strips path parameters (Servlet containers, Spring, ...) is shared between an unauthenticated router and a router protected by an authentication or authorization middleware, an unauthenticated attacker can send a single request such as `/public/..;x/admin` to reach the protected resources and bypass the middleware.
Traefik v2.11.62, v3.7.18 and v3.8.0-rc.2 resolve the `..`, `.` and empty segments carrying path parameters before the dot-segment removal, when `sanitizePath` is enabled (the default). Traefik v3.0 to v3.6 are also affected; these lines are end of life and will not receive a patch, the remedy is to upgrade to a patched release.
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-cp28-5662-543fLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
