Description
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.
Problem types
CWE-208: Observable Timing Discrepancy
Product status
>= 3.0.0-beta1, < 3.6.14
>= 3.7.0-ea.1, < 3.7.0-rc.2
References
github.com/...raefik/security/advisories/GHSA-6x2q-h3cr-8j2h
github.com/traefik/traefik/releases/tag/v2.11.43
github.com/traefik/traefik/releases/tag/v3.6.14
github.com/traefik/traefik/releases/tag/v3.7.0-rc.2