CVE-2021-32783
ExternalName Services can be used to gain access to Envoy's admin interface
Overview
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.
Source: OX vulnerability database
Severity
8.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H
Weakness: CWE-441, CWE-610
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | contour | <1.17.1 | 1.17.1 |
| Go | github.com/projectcontour/contour | <1.14.2>=1.15.0, <1.15.2>=1.16.0, <1.16.1>=1.17.0, <1.17.1 | 1.14.21.15.21.16.11.17.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/projectcontour/contour/commit/5f3e6d0ab1d48e64bae46400c85c490b200393a3
- github.com https://github.com/projectcontour/contour/commit/b53a5c4fd927f4ea2c6cf02f1359d8e28bef852e
- github.com https://github.com/projectcontour/contour/releases/tag/v1.14.2
- github.com https://github.com/projectcontour/contour/releases/tag/v1.15.2
- github.com https://github.com/projectcontour/contour/releases/tag/v1.16.1
- github.com https://github.com/projectcontour/contour/releases/tag/v1.17.1
- github.com https://github.com/projectcontour/contour/security/advisories/GHSA-5ph6-qq5x-7jwc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-32783
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.