Advisory

GHSA-m697-4v8f-55qg

Also known as: CVE-2021-32813, GO-2022-0923

Summary

Header dropping in traefik

Details

Impact

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.

Details

If you have a chain of Traefik middlewares, and one of them sets a request header Important-Security-Header, then sending a request with the following Connection header will cause it to be removed before the request was sent:

curl 'https://example.com' -H "Connection: Important-Security-Header" -0

In this case, the backend does not see the request header Important-Security-Header.

Patches

Traefik v2.4.x: https://github.com/traefik/traefik/releases/tag/v2.4.13

Workarounds

No.

For more information

If you have any questions or comments about this advisory, open an issue.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-05 17:04 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

github.com/traefik/traefik/v2

Go · All systems

Affected

  • introduced 0, fixed 2.4.13 (semver)

Fixed versions

2.4.13

Fix

github.com/traefik/traefik

Go · All systems

Affected

  • introduced 0, last affected 1.7.30 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences