Authorization bypass in Contour
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/projectcontour/contourGo | < 1.14.2 | 1.14.2 |
github.com/projectcontour/contourGo | >= 1.15.0, < 1.15.2 | 1.15.2 |
github.com/projectcontour/contourGo | >= 1.16.0, < 1.16.1 | 1.16.1 |
github.com/projectcontour/contourGo | >= 1.17.0, < 1.17.1 | 1.17.1 |
Affected products
3- osv-coords2 versions
< 1.17.1+ 1 more
- (no CPE)range: < 1.17.1
- (no CPE)range: < 1.14.2
- Range: < 1.17.1
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-5ph6-qq5x-7jwcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-32783ghsaADVISORY
- github.com/projectcontour/contour/commit/5f3e6d0ab1d48e64bae46400c85c490b200393a3ghsaWEB
- github.com/projectcontour/contour/commit/b53a5c4fd927f4ea2c6cf02f1359d8e28bef852eghsax_refsource_MISCWEB
- github.com/projectcontour/contour/releases/tag/v1.14.2ghsaWEB
- github.com/projectcontour/contour/releases/tag/v1.15.2ghsaWEB
- github.com/projectcontour/contour/releases/tag/v1.16.1ghsaWEB
- github.com/projectcontour/contour/releases/tag/v1.17.1ghsax_refsource_MISCWEB
- github.com/projectcontour/contour/security/advisories/GHSA-5ph6-qq5x-7jwcghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.