7.5 HIGH
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): NONE
- Availability impact (A): HIGH
Traefik: tcp router clears read deadlines before tls forwarding, enabling stalled handshakes (slowloris doS)
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.38 and 3.6.9, there is a potential vulnerability in Traefik managing TLS handshake on TCP routers. When Traefik processes a TLS connection on a TCP router, the read deadline used to bound protocol sniffing is cleared before the TLS handshake is completed. When a TLS handshake read error occurs, the code attempts a second handshake with different connection parameters, silently ignoring the initial error. A remote unauthenticated client can exploit this by sending an incomplete TLS record and stopping further data transmission, causing the TLS handshake to stall indefinitely and holding connections open. By opening many such stalled connections in parallel, an attacker can exhaust file descriptors and goroutines, degrading availability of all services on the affected entrypoint. This issue has been patched in versions 2.11.38 and 3.6.9.
References
-
https://github.com/traefik/traefik/security/advisories/GHSA-xw98-5q62-jx94 x_refsource_CONFIRM
-
https://github.com/traefik/traefik/releases/tag/v2.11.38 x_refsource_MISC
-
https://github.com/traefik/traefik/releases/tag/v3.6.9 x_refsource_MISC
Affected products
- ==< 3.6.9
- ==< 2.11.38
Matching in nixpkgs
pkgs.traefik
Modern reverse proxy
Package maintainers
-
@djds djds <git@djds.dev>
-
@vdemeester Vincent Demeester <vincent@sbr.pm>
-
@NickCao Nick Cao <nickcao@nichi.co>