Traefik: BasicAuth middleware: timing side-channel vulnerability
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.11.43 and 3.6.14.
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a timing side-channel vulnerability in Traefik's BasicAuth middleware that allows an attacker to enumerate valid usernames through response-time differences. The variable intended to hold a constant-time fallback secret always resolves to an empty string, causing the constant-time comparison to short-circuit in microseconds rather than performing a full bcrypt evaluation. This restores the original timing oracle and makes it possible to distinguish existing users from non-existing ones by measuring authentication response times. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| traefik | traefik | <2.11.43, >=3.0.0 <3.6.14, =3.7.0 | 2.11.43, 3.6.14 |
| traefik | <2.11.43, >=3.0.0-beta1 <3.6.14, >=3.7.0-ea.1 <3.7.0-rc.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket