Possible denial of service vulnerability with Content-length header in Traefik
traefik
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/traefik/traefik/v3 Go |
|
|
| github.com/traefik/traefik/v2 Go |
|
|
| github.com/traefik/traefik |
traefik
| Product | Affected | Fixed in |
|---|---|---|
| github.com/traefik/traefik/v3 Go |
|
|
| github.com/traefik/traefik/v2 Go |
|
|
| github.com/traefik/traefik |
|
|
Traefik is an HTTP reverse proxy and load balancer. In affected versions sending a GET request to any Traefik endpoint with the "Content-length" request header results in an indefinite hang with the default configuration. This vulnerability can be exploited by attackers to induce a denial of service. This vulnerability has been addressed in version 2.11.2 and 3.0.0-rc5. Users are advised to upgrade. For affected versions, this vulnerability can be mitigated by configuring the readTimeout option.
From the CVE record · GitHub_M
Affected Traefik versions can hang indefinitely when a GET request to any Traefik endpoint includes a Content-length header under the default configuration. An attacker who can send such a request can cause a denial of service; the input does not specify an authentication or user-interaction requirement.
Check deployments using Go packages github.com/traefik/traefik/v3 versions >=3.0.0-beta3 and <3.0.0-rc5, github.com/traefik/traefik/v2 versions <2.11.2, or github.com/traefik/traefik versions <2.11.2.