{"answers":{"affected":"6 open source packages ship an affected version, including github.com/traefik/traefik and github.com/traefik/traefik/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32813 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-32813 is a medium-severity vulnerability in Traefik Traefik, published on 3 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-32813 and fix it if it is affected.\n\nWhat it is: CVE-2021-32813 is a medium-severity vulnerability in Traefik Traefik, published on 3 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-32813 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/traefik/traefik (Go): affected all versions; no fix listed\n- github.com/traefik/traefik (Go): affected all versions up to 1.7.30; no fix listed\n- github.com/traefik/traefik (Go): affected all versions up to 1.7.30; no fix listed\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.4.13\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.4.13\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.4.13\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-32813/ (Markdown: https://insights.sbomify.com/CVE-2021-32813/index.md)","id":"CVE-2021-32813","markdown":"https://insights.sbomify.com/CVE-2021-32813/index.md","name":"CVE-2021-32813","record":{"aliases":["ECHO-ef09-14ab-a33b","GHSA-m697-4v8f-55qg","GO-2022-0923"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"HTTP reverse proxy","requires_auth":"none","summary":"Traefik reverse proxy allows attackers to strip security headers via malicious Connection headers, potentially bypassing middleware protections.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"traefik","vendor":"traefik"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Drop Headers via Malicious Connection Header","id":"CVE-2021-32813","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"traefik:traefik","products":["traefik:traefik"],"type":"security_feature_bypass","year":"2021"},"n_packages":6,"n_references":3,"next":{"headline":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Skytable","id":"CVE-2021-32814"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","source":"GO-2022-0923"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.7.30"],"package":"github.com/traefik/traefik","purl":null,"source":"GHSA-m697-4v8f-55qg"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.7.30"],"package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","source":"GHSA-m697-4v8f-55qg"},{"ecosystem":"Go","fixed":["2.4.13"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":null,"source":"GHSA-m697-4v8f-55qg"},{"ecosystem":"Go","fixed":["2.4.13"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","source":"GHSA-m697-4v8f-55qg"},{"ecosystem":"Go","fixed":["2.4.13"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","source":"GO-2022-0923"}],"prev":{"headline":"Monkshu is an enterprise application server for mobile apps (iOS and Android), responsive HTML 5 apps, and JSON API services.","id":"CVE-2021-32812"},"products":["traefik"],"published":"2021-08-03","related":[{"cvss_score":9.8,"headline":"HTTP client can remove the X-Forwarded headers in Traefik","id":"CVE-2024-45410","kev_date_added":null,"published":"2024-09-19"},{"cvss_score":9.3,"headline":"Traefik v3.7.0 Authentication Bypass via from-to-www-redirect","id":"CVE-2026-88877","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":9.3,"headline":"Traefik before v2.11.55 and v3.0.0 through v3.7.10 Authentication Bypass via digestAuth","id":"CVE-2026-85595","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":9.1,"headline":"Traefik HTTP/3 Backend NTLM Connection Reuse","id":"CVE-2026-88007","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.8,"headline":"Traefik: Rootless HTTP/1 request-target routes as \"/\" but is forwarded verbatim, bypassing path-scoped routing, middleware guards and access logging","id":"CVE-2026-88009","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.8,"headline":"Traefik has a possible vulnerability with the path matchers","id":"CVE-2025-32431","kev_date_added":null,"published":"2025-04-21"},{"cvss_score":8.2,"headline":"Traefik v3.7 Authentication Bypass via TLS Option Conflict","id":"CVE-2026-85596","kev_date_added":null,"published":"2026-09-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["traefik"]},"summary":"Traefik reverse proxy allows attackers to strip security headers via malicious Connection headers, potentially bypassing middleware protections.","url":"https://insights.sbomify.com/CVE-2021-32813/"}