{"answers":{"affected":"10 open source packages ship an affected version, including github.com/projectcontour/contour and contour. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32783 in the wild and no public exploit code.","fix":"Upgrade github.com/projectcontour/contour to a fixed version for your release line: 1.14.2, 1.15.2, 1.16.1 or 1.17.1.","what":"CVE-2021-32783 is a high-severity authentication bypass vulnerability in projectcontour contour, published on 23 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-32783 and fix it if it is affected.\n\nWhat it is: CVE-2021-32783 is a high-severity authentication bypass vulnerability in projectcontour contour, published on 23 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-32783 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/projectcontour/contour (Go): affected all versions; fixed in 1.14.2, 1.15.2, 1.16.1, 1.17.1\n- github.com/projectcontour/contour (Go): affected all versions; fixed in 1.14.2\n- github.com/projectcontour/contour (Go): affected all versions; fixed in 1.14.2\n- github.com/projectcontour/contour (Go): affected from 1.15.0; fixed in 1.15.2\n- github.com/projectcontour/contour (Go): affected from 1.15.0; fixed in 1.15.2\n- github.com/projectcontour/contour (Go): affected from 1.16.0; fixed in 1.16.1\n- github.com/projectcontour/contour (Go): affected from 1.16.0; fixed in 1.16.1\n- github.com/projectcontour/contour (Go): affected from 1.17.0; fixed in 1.17.1\n- github.com/projectcontour/contour (Go): affected from 1.17.0; fixed in 1.17.1\n- contour (Bitnami): affected all versions; fixed in 1.17.1\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-32783/ (Markdown: https://insights.sbomify.com/CVE-2021-32783/index.md)","id":"CVE-2021-32783","markdown":"https://insights.sbomify.com/CVE-2021-32783/index.md","name":"CVE-2021-32783","record":{"aliases":["BIT-contour-2021-32783","GHSA-5ph6-qq5x-7jwc","GO-2022-0922"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes ingress controller","requires_auth":"low_privilege","summary":"Attackers can bypass authorization to access Envoy admin interface, causing denial of service or exposing secret metadata in Contour.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"contour","vendor":"projectcontour"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"Contour is a Kubernetes ingress controller using Envoy proxy. In Contour before version 1.17.1 a specially crafted ExternalName type Service may be used to access Envoy's admin interface, which Contour normally prevents from access outside the Envoy container. This can be used to shut down Envoy remotely (a denial of service), or to expose the existence of any Secret that Envoy is using for its configuration, including most notably TLS Keypairs. However, it *cannot* be used to get the *content* of those secrets. Since this attack allows access to the administration interface, a variety of administration options are available, such as shutting down the Envoy or draining traffic. In general, the Envoy admin interface cannot easily be used for making changes to the cluster, in-flight requests, or backend services, but it could be used to shut down or drain Envoy, change traffic routing, or to retrieve secret metadata, as mentioned above. The issue will be addressed in Contour v1.18.0 and a cherry-picked patch release, v1.17.1, has been released to cover users who cannot upgrade at this time. For more details refer to the linked GitHub Security Advisory.","ecosystems":["Bitnami","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":"Authorization bypass in Contour","id":"CVE-2021-32783","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":10,"n_references":3,"next":{"headline":"Format string bug in the Redis cache implementation","id":"CVE-2021-32785"},"packages":[{"ecosystem":"Bitnami","fixed":["1.17.1"],"introduced":["0"],"last_affected":[],"package":"contour","purl":"pkg:bitnami/contour","source":"BIT-contour-2021-32783"},{"ecosystem":"Go","fixed":["1.14.2","1.15.2","1.16.1","1.17.1"],"introduced":["0","1.15.0","1.16.0","1.17.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":"pkg:golang/github.com/projectcontour/contour","source":"GO-2022-0922"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":null,"source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":"pkg:golang/github.com/projectcontour/contour","source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.15.2"],"introduced":["1.15.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":null,"source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.15.2"],"introduced":["1.15.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":"pkg:golang/github.com/projectcontour/contour","source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":null,"source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":"pkg:golang/github.com/projectcontour/contour","source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.17.1"],"introduced":["1.17.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":null,"source":"GHSA-5ph6-qq5x-7jwc"},{"ecosystem":"Go","fixed":["1.17.1"],"introduced":["1.17.0"],"last_affected":[],"package":"github.com/projectcontour/contour","purl":"pkg:golang/github.com/projectcontour/contour","source":"GHSA-5ph6-qq5x-7jwc"}],"prev":{"headline":"Cross-Site Scripting in Nextcloud Circles","id":"CVE-2021-32782"},"products":["contour"],"published":"2021-07-23","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2024-36539","kev_date_added":null,"published":"2024-07-24"},{"cvss_score":8.1,"headline":"Contour: Lua code injection via Cookie Path Rewrite Policy","id":"CVE-2026-41246","kev_date_added":null,"published":"2026-04-23"},{"cvss_score":7.5,"headline":"Denial of service in Contour","id":"CVE-2020-15127","kev_date_added":null,"published":"2020-08-05"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":["projectcontour"]},"summary":"Attackers can bypass authorization to access Envoy admin interface, causing denial of service or exposing secret metadata in Contour.","url":"https://insights.sbomify.com/CVE-2021-32783/"}