CVE-2024-28869
Traefik vulnerable to denial of service with Content-length header
Impact
There is a potential vulnerability in Traefik managing requests with `Content-length` and no `body` . 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. ## Patches - https://github.com/traefik/traefik/releases/tag/v2.11.2 - https://github.com/traefik/traefik/releases/tag/v3.0.0-rc5 ## Workarounds For affected versions, this vulnerability can be mitigated by configuring the [readTimeout](https://doc.traefik.io/traefik/routing/entrypoints/#respondingtimeouts) option. ## For more information If you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/traefik/traefik/v3 | >= 3.0.0-beta3, <= 3.0.0-rc4 | 3.0.0-rc5 |
| go | github.com/traefik/traefik/v2 | <= 2.11.1 | 2.11.2 |
| go | github.com/traefik/traefik | <= 2.11.1 | 2.11.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Traefik | Traefik | before 2.11.2 Version 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://doc.traefik.io/traefik/routing/entrypoints/#respondingtimeouts
- https://github.com/traefik/traefik/commit/240b83b77351dfd8cadb91c305b84e9d22e0f9c6
- https://github.com/traefik/traefik/releases/tag/v2.11.2
- https://github.com/traefik/traefik/releases/tag/v3.0.0-rc5
- https://github.com/traefik/traefik/security/advisories/GHSA-4vwx-54mw-vqfw
- https://github.com/advisories/GHSA-4vwx-54mw-vqfw
- https://nvd.nist.gov/vuln/detail/CVE-2024-28869