CVE-2024-45410 HTTP client can remove the X-Forwarded headers in Traefik
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-45410?
CVE-2024-45410 is a critical vulnerability in Traefik Traefik, published on 19 Sep 2024.
Official 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.
Which versions are affected by CVE-2024-45410?
9 open source packages ship an affected version, including github.com/traefik/traefik, github.com/traefik/traefik/v2 and github.com/traefik/traefik/v3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/traefik/traefik Go | All versions | None |
github.com/traefik/traefik Go | All versions | 2.11.9 |
github.com/traefik/traefik Go | All versions | 2.11.9 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.9 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.9 |
github.com/traefik/traefik/v2 Go | All versions | 2.11.9 |
3 more packages
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.1.3 |
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.1.3 |
github.com/traefik/traefik/v3 Go | From 3.0.0-beta3 | 3.1.3 |
Linux distribution packages (2)
traefik openSUSE:Tumbleweed | All versions | 3.1.4-1.1 |
traefik2 openSUSE:Tumbleweed | All versions | 2.11.10-1.1 |
Products include Traefik Traefik.
How do I fix CVE-2024-45410?
Upgrade github.com/traefik/traefik to 2.11.9 or later.
Is CVE-2024-45410 being exploited?
There is no known exploitation of CVE-2024-45410 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Traefik Traefik
- CVE-2026-88877 Traefik v3.7.0 Authentication Bypass via from-to-www-redirect
- CVE-2026-85595 Traefik before v2.11.55 and v3.0.0 through v3.7.10 Authentication Bypass via digestAuth
- CVE-2026-88007 Traefik HTTP/3 Backend NTLM Connection Reuse
- CVE-2026-88009 Traefik: Rootless HTTP/1 request-target routes as "/" but is forwarded verbatim, bypassing path-scoped routing, middleware guards and access logging
- CVE-2025-32431 Traefik has a possible vulnerability with the path matchers
Sources
Also known as ECHO-678c-79a3-e71d, GHSA-62c8-mh53-4cqv, GO-2024-3135, openSUSE-SU-2024:14365-1, openSUSE-SU-2024:14367-1.