{"id":"CVE-2021-32813","aliases":["GHSA-m697-4v8f-55qg","GO-2022-0923"],"summary":"Drop Headers via Malicious Connection Header","published_at":"2021-08-03T22:50:11Z","modified_at":"2026-07-08T06:29:38.204785Z","products":[{"slug":"traefik","name":"Traefik","category":"proxy"}],"rating":{"severity":"medium","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.010999999940395355,"percentile":0.6636800169944763,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"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_stack":[{"ecosystem":"Go","package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.7.30"}]}],"provider":"osv","source":"GHSA-m697-4v8f-55qg","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2022-0923","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"osv","source":"GHSA-m697-4v8f-55qg","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"osv","source":"GO-2022-0923","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"traefik/traefik","versions":["< 2.4.13","<= 1.7.30"],"provider":"cvelistv5","source":"CVE-2021-32813","relation":"self"},{"ecosystem":"NVD","package":"traefik:traefik","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"nvd","source":"CVE-2021-32813","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-32813","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-32813","license":"CC-BY-4.0","published_at":"2021-08-03T22:50:11Z","modified_at":"2024-08-03T23:33:55.883Z","summary":"Drop Headers via Malicious Connection Header","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2021-32813"}],"affected":[{"ecosystem":"CVE","package":"traefik/traefik","versions":["< 2.4.13","<= 1.7.30"],"provider":"cvelistv5","source":"CVE-2021-32813","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg"},{"type":"WEB","url":"https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9"},{"type":"WEB","url":"https://github.com/traefik/traefik/releases/tag/v2.4.13"}]},{"provider":"nvd","source_id":"CVE-2021-32813","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32813","severity":[],"affected":[{"ecosystem":"NVD","package":"traefik:traefik","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"nvd","source":"CVE-2021-32813","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-m697-4v8f-55qg","relation":"self","url":"https://osv.dev/vulnerability/GHSA-m697-4v8f-55qg","license":"CC-BY-4.0","published_at":"2021-08-05T17:04:21Z","modified_at":"2026-07-08T06:29:38.204785Z","summary":"Header dropping in traefik","details":"# Impact\n\nThere 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.\n\n# Details\n\nIf 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:\n\n```\ncurl 'https://example.com' -H \"Connection: Important-Security-Header\" -0\n```\n\nIn this case, the backend does not see the request header `Important-Security-Header`.\n\n# Patches\n\nTraefik v2.4.x: https://github.com/traefik/traefik/releases/tag/v2.4.13\n\n# Workarounds\n\nNo.\n\n# For more information\n\nIf you have any questions or comments about this advisory, [open an issue](https://github.com/traefik/traefik/issues).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GHSA-m697-4v8f-55qg"}],"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.7.30"}]}],"provider":"osv","source":"GHSA-m697-4v8f-55qg","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"osv","source":"GHSA-m697-4v8f-55qg","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32813"},{"type":"WEB","url":"https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9"},{"type":"WEB","url":"https://github.com/traefik/traefik/releases/tag/v2.4.13"},{"type":"PACKAGE","url":"github.com/traefik/traefik"}]},{"provider":"osv","source_id":"GO-2022-0923","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0923","license":"CC-BY-4.0","published_at":"2024-08-21T16:03:21Z","modified_at":"2026-03-03T04:51:03.540495Z","summary":"Header dropping in traefik in github.com/traefik/traefik","details":"Header dropping in traefik in github.com/traefik/traefik","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2022-0923","relation":"self"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.13"}]}],"fixed":["2.4.13"],"provider":"osv","source":"GO-2022-0923","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32813"},{"type":"FIX","url":"https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9"},{"type":"WEB","url":"https://github.com/traefik/traefik/releases/tag/v2.4.13"}]}],"references":[{"type":"WEB","url":"https://github.com/traefik/traefik/security/advisories/GHSA-m697-4v8f-55qg"},{"type":"WEB","url":"https://github.com/traefik/traefik/pull/8319/commits/cbaf86a93014a969b8accf39301932c17d0d73f9"},{"type":"WEB","url":"https://github.com/traefik/traefik/releases/tag/v2.4.13"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32813"},{"type":"PACKAGE","url":"github.com/traefik/traefik"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-32813","url":"https://www.cve.org/CVERecord?id=CVE-2021-32813","license":"CC-BY-4.0","modified_at":"2024-08-03T23:33:55.883Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-32813","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32813","relation":"self"},{"provider":"osv","source_id":"GHSA-m697-4v8f-55qg","url":"https://osv.dev/vulnerability/GHSA-m697-4v8f-55qg","license":"CC-BY-4.0","modified_at":"2026-07-08T06:29:38.204785Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0923","url":"https://osv.dev/vulnerability/GO-2022-0923","license":"CC-BY-4.0","modified_at":"2026-03-03T04:51:03.540495Z","relation":"self"}]}
