Vulnerability · Published Aug 3, 2021 · Assigned by GitHub_M

CVE-2021-32813Drop Headers via Malicious Connection Header

Medium 4.8

In plain English

A medium-severity security flaw in traefik from traefik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)1.1%top 34.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/traefik/traefikno fix listedGHSA-m697-4v8f-55qg
Gogithub.com/traefik/traefikno fix listedGO-2022-0923
Gogithub.com/traefik/traefik/v22.4.13GHSA-m697-4v8f-55qg
Gogithub.com/traefik/traefik/v22.4.13GO-2022-0923

Affected products (as reported)

VendorProductVersions
traefik traefik < 2.4.13<= 1.7.30

Weakness: CWE-913 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

References