CVE-2021-32813
HIGH 8.1CVSS 3.1Header dropping in traefik
Traefik is an HTTP reverse proxy and load balancer. Prior to version 2.4.13, there exists a potential header vulnerability in Traefik's handling of the Connection header. Active exploitation of this issue is unlikely, as it requires that a removed header would lead to a privilege escalation, however, the Traefik team has addressed this issue to prevent any potential abuse. If one has a chain of Traefik middlewares, and one of them sets a request header, then sending a request with a certain Connection header will cause it to be removed before the request is sent. In this case, the backend does not see the request header. A patch is available in version 2.4.13. There are no known workarounds aside from upgrading.
- Published
- 3 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-913
- Also known as
- GHSA-m697-4v8f-55qgGO-2022-0923
- Sources
- NVDJSONOSV GHSA-m697-4v8f-55qgJSONOSV GO-2022-0923JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | traefik | traefikcpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
< 2.4.13 | 2.4.13 |
| OSV | Go | github.com/traefik/traefik/v2 | < 2.4.13 | 2.4.13 |
| OSV | Go | github.com/traefik/traefik | <= 1.7.30 | |
| OSV | Go | github.com/traefik/traefik | all versions |
References
- https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/traefik/traefik/releases/tag/v2.4.13 · Third Party Advisory, WEB
- https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-32813 · ADVISORY
- github.com/traefik/traefik · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Aug 2021)