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.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)1.2%top 32.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/projectcontour/contour1.14.2GHSA-5ph6-qq5x-7jwc
Gogithub.com/projectcontour/contour1.15.2GHSA-5ph6-qq5x-7jwc
Gogithub.com/projectcontour/contour1.16.1GHSA-5ph6-qq5x-7jwc
Gogithub.com/projectcontour/contour1.17.1GHSA-5ph6-qq5x-7jwc
Gogithub.com/projectcontour/contour1.14.2, 1.15.2, 1.16.1, 1.17.1GO-2022-0922

Affected products (as reported)

VendorProductVersions
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

References