Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v2
  4. ›
  5. CVE-2021-32813

CVE-2021-32813: Improper Control of Dynamically-Managed Code Resources

August 5, 2021 (updated August 31, 2021)

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.

References

  • github.com/advisories/GHSA-m697-4v8f-55qg
  • github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9
  • github.com/traefik/traefik/releases/tag/v2.4.13
  • github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg
  • nvd.nist.gov/vuln/detail/CVE-2021-32813

Code Behaviors & Features

Detect and mitigate CVE-2021-32813 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.13

Fixed versions

  • 2.4.13

Solution

Upgrade to version 2.4.13 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-913: Improper Control of Dynamically-Managed Code Resources

Source file

go/github.com/traefik/traefik/v2/CVE-2021-32813.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.