CVE-2024-45410 HTTP client can remove the X-Forwarded headers in Traefik

Critical 9.8 Published Updated
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.

Weakness: CWE-348, CWE-345

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.

PackageAffectedFixed in
github.com/traefik/traefik GoAll versionsNone
github.com/traefik/traefik GoAll versions2.11.9
github.com/traefik/traefik GoAll versions2.11.9
github.com/traefik/traefik/v2 GoAll versions2.11.9
github.com/traefik/traefik/v2 GoAll versions2.11.9
github.com/traefik/traefik/v2 GoAll versions2.11.9
3 more packages
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.1.3
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.1.3
github.com/traefik/traefik/v3 GoFrom 3.0.0-beta33.1.3
Linux distribution packages (2)
traefik openSUSE:TumbleweedAll versions3.1.4-1.1
traefik2 openSUSE:TumbleweedAll versions2.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.

All Traefik Traefik vulnerabilities

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.

Is CVE-2024-45410 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free