CVE-2024-45410HTTP client can remove the X-Forwarded headers in Traefik
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.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | traefik | Fixed | 3.1.3-r0 | ALPINE-CVE-2024-45410 |
| Alpine Linux 3.23 | traefik | Fixed | 3.1.3-r0 | ALPINE-CVE-2024-45410 |
| Alpine Linux 3.22 | traefik | Fixed | 3.1.3-r0 | ALPINE-CVE-2024-45410 |
| Alpine Linux 3.21 | traefik | Fixed | 3.1.3-r0 | ALPINE-CVE-2024-45410 |
| Go library | github.com/traefik/traefik | Fixed | 2.11.9 | GO-2024-3135 |
| Go library | github.com/traefik/traefik/v2 | Fixed | 2.11.9 | GO-2024-3135 |
| Go library | github.com/traefik/traefik/v3 | Fixed | 3.1.3 | GO-2024-3135 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- traefik: affected: < 2.11.9, >= 3.0.0, < 3.1.3
References
- https://github.com/traefik/traefik/security/advisories/GHSA-62c8-mh53-4cqv
- https://github.com/traefik/traefik/releases/tag/v2.11.9
- https://github.com/traefik/traefik/releases/tag/v3.1.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.