Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/traefik/traefik/v2 2.11.42, github.com/traefik/traefik/v3 3.7.0-ea.3 and github.com/traefik/traefik/v3 3.6.12.
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.42, 3.6.11, and 3.7.0-ea.3, when `headerField` is configured with a non-canonical HTTP header name (e.g., `x-auth-user` instead of `X-Auth-User`), an authenticated attacker can inject their own canonical version of that header to impersonate any identity to the backend. The backend receives two header entries — the attacker-injected canonical one is read first, overriding Traefik's non-canonical write. Versions 2.11.42, 3.6.11, and 3.7.0-ea.3 patch the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| traefik | <2.11.42, >=3.0.0-beta1 <3.6.11, >=3.7.0-ea.1 <3.7.0-ea.3 | ||
| go: github.com/traefik/traefik/v2 | <2.11.42 | 2.11.42 | |
| go: github.com/traefik/traefik/v3 | >=3.7.0-ea.1 <3.7.0-ea.3, >=3.0.0-beta1 <3.6.11, >=3.0.0-beta1 <3.6.12 | 3.7.0-ea.3, 3.6.12 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket