Vulnerability · Published Jul 23, 2021 · Assigned by GitHub_M
CVE-2021-32783Authorization bypass in Contour
High 8.5
In plain English
A high-severity security flaw in contour from projectcontour. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/projectcontour/contour | 1.14.2 | GHSA-5ph6-qq5x-7jwc |
| Go | github.com/projectcontour/contour | 1.15.2 | GHSA-5ph6-qq5x-7jwc |
| Go | github.com/projectcontour/contour | 1.16.1 | GHSA-5ph6-qq5x-7jwc |
| Go | github.com/projectcontour/contour | 1.17.1 | GHSA-5ph6-qq5x-7jwc |
| Go | github.com/projectcontour/contour | 1.14.2, 1.15.2, 1.16.1, 1.17.1 | GO-2022-0922 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| projectcontour | contour | < 1.17.1 |
Weakness: CWE-441 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H