SecurityContext

CVE-2021-32813: Traefik - Misconfiguration

  • Cve: CVE-2021-32813
  • Name: Traefik - Misconfiguration
  • Description: 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.
  • Impact: Potential request header removal could lead to misbehavior or security issues in backend services, but active exploitation is unlikely.
  • Remediation: Upgrade to version 2.4.13 or later.
  • Vulnerability type: misconfiguration
  • Requirements: Exploit requires a chain of middlewares setting headers
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.011
  • Epss percentile: 0.66348
  • Assignee: [email protected]
  • Published at: 2021-08-03T23:15:07Z
  • Age in days: 1939
  • Modified at: 2026-06-17T03:53:41Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32813
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-913Improper Control of Dynamically-Managed Code Resources

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9Patch, Third Party Advisory
https://github.com/traefik/traefik/releases/tag/v2.4.13Third Party Advisory
https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qgThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
traefik:traefik< 2.4.13nonvd/v1/products/traefik/traefik

Projects

RepositoryLink kindsIndexedUrl
traefik/traefikpull, releases, security_advisoryyes/v1/repositories/traefik/traefik

Index

  • Repositories: 1
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Exposed hosts: 12774
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports