LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32813: Drop Headers via Malicious Connection Header

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.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Traefik could let a specially crafted request cause a middleware-added request header to be dropped before reaching the backend. Business risk depends on whether that missing header can weaken authorization or trust decisions. The vendor patched this in 2.4.13 and lists no workaround besides upgrading.

Executive priority

Treat as a focused upgrade item, not an emergency, unless Traefik-added headers influence authentication or authorization in critical applications. Patch affected deployments during the next controlled maintenance window, prioritizing high-trust reverse proxy paths.

Technical view

Before Traefik 2.4.13, Connection header handling could remove a request header set by a Traefik middleware in a middleware chain. The backend then would not receive that header. The issue is classified as CWE-913 with CVSS 4.8, network reachable, high attack complexity, and low confidentiality and integrity impact.

Likely exposure

Exposure is likely limited to Traefik deployments older than 2.4.13, including legacy versions listed as <= 1.7.30, where middleware chains set request headers consumed by backends.

Exploitation context

The source bundle says active exploitation is unlikely because impact requires the removed header to enable privilege escalation. There is no KEV listing and no cited evidence of exploitation in the provided sources.

Researcher notes

Evidence supports a header-stripping flaw tied to Connection header processing and middleware-set request headers. Impact is environment-dependent. The provided sources do not establish exploitation, affected configurations beyond Traefik, or any mitigation other than upgrading.

Mitigation direction

  • Upgrade Traefik to version 2.4.13 or later.
  • Identify legacy 1.x deployments and check Traefik guidance for migration or support status.
  • Prioritize systems where Traefik middleware adds headers used for authorization or trust decisions.
  • Do not rely on unverified workarounds; the source lists none besides upgrading.

Validation and detection

  • Inventory Traefik versions across internet-facing and internal reverse proxy deployments.
  • Review middleware chains that set request headers before forwarding to backends.
  • Confirm whether backends depend on middleware-added headers for access control decisions.
  • Verify upgraded systems report Traefik 2.4.13 or later.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-913: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32813 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N2.22.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.8Medium
CVSS 3.1 vector shape for CVE-2021-32813Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
traefiktraefik< 2.4.13, <= 1.7.30Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-913 · source CWE mapping

Improper Control of Dynamically-Managed Code Resources

Improper Control of Dynamically-Managed Code Resources represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.