CVE-2024-45410
Description
Traefik is a golang, Cloud Native Application Proxy. When a HTTP request is processed by Traefik, certain HTTP headers such as X-Forwarded-Host or X-Forwarded-Port are added by Traefik before the request is routed to the application. For a HTTP client, it should not be possible to remove or modify these headers. Since the application trusts the value of these headers, security implications might arise, if they can be modified. For HTTP/1.1, however, it was found that some of theses custom headers can indeed be removed and in certain cases manipulated. The attack relies on the HTTP/1.1 behavior, that headers can be defined as hop-by-hop via the HTTP Connection header. This issue has been addressed in release versions 2.11.9 and 3.1.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix
- traefik traefik2.11.9, 3.1.3 or later
- github.com/traefik/traefik/v33.1.3 or later
- github.com/traefik/traefik/v22.11.9 or later
- github.com/traefik/traefik2.11.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| traefik traefik | v < 2.11.9, 3.0.0 ≤ v < 3.1.3 | 2.11.9, 3.1.3 |
| github.com/traefik/traefik/v3Go | 3.0.0-beta3 ≤ v < 3.1.3 | 3.1.3 |
| github.com/traefik/traefik/v2Go | v < 2.11.9 | 2.11.9 |
| github.com/traefik/traefikGo | v < 2.11.9, No range specified | 2.11.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.