Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField
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.
References
-
https://github.com/traefik/traefik/security/advisories/GHSA-qr99-7898-vr7c x_refsource_CONFIRM
-
https://github.com/traefik/traefik/releases/tag/v2.11.42 x_refsource_MISC
-
https://github.com/traefik/traefik/releases/tag/v3.6.11 x_refsource_MISC
-
https://github.com/traefik/traefik/releases/tag/v3.7.0-ea.3 x_refsource_MISC
Affected products
- ==>= 3.0.0-beta1, < 3.6.11
- ==>= 3.7.0-ea.1, < 3.7.0-ea.3
- ==< 2.11.42
Matching in nixpkgs
pkgs.traefik
Modern reverse proxy
-
nixos-unstable 3.7.0-ea.1
- nixpkgs-unstable 3.7.0-ea.1
- nixos-unstable-small 3.7.0-ea.1
Package maintainers
-
@djds djds <git@djds.dev>
-
@vdemeester Vincent Demeester <vincent@sbr.pm>
-
@NickCao Nick Cao <nickcao@nichi.co>