CVE-2020-15104
envoyproxy/envoy: incorrectly validates TLS certificates when using wildcards for DNS SAN's
Overview
Description
In Envoy before versions 1.12.6, 1.13.4, 1.14.4, and 1.15.0 when validating TLS certificates, Envoy would incorrectly allow a wildcard DNS Subject Alternative Name apply to multiple subdomains. For example, with a SAN of *.example.com, Envoy would incorrectly allow nested.subdomain.example.com, when it should only allow subdomain.example.com. This defect applies to both validating a client TLS certificate in mTLS, and validating a server TLS certificate for upstream connections. This vulnerability is only applicable to situations where an untrusted entity can obtain a signed wildcard TLS certificate for a domain of which you only intend to trust a subdomain of. For example, if you intend to trust api.mysubdomain.example.com, and an untrusted actor can obtain a signed TLS certificate for *.example.com or *.com. Configurations are vulnerable if they use verify_subject_alt_name in any Envoy version, or if they use match_subject_alt_names in version 1.14 or later. This issue has been fixed in Envoy versions 1.12.6, 1.13.4, 1.14.4, 1.15.0.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-346
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | envoy | <1.12.6>=1.13.0, <1.13.4>=1.14.0, <1.14.4 | 1.12.61.13.41.14.4 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Oracle Linux 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | olcne-agent +6 | 1.1.2-6.el7 |
| 7 | kubeadm +2 | 1.17.9-1.0.1.el7 |
| 7 | istio +10 | 1.4.10-1.0.1.el7 |
| 7 | kata-image | 1.7.3-1.0.5.1.ol7_202007011859 |
| 7 | kata-runtime | 1.7.3-1.0.5.el7 |
| 7 | kata | 1.7.3-1.0.7.el7 |
1 more row
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 | servicemesh-proxy | 0:1.1.5-1.el8 | RHSA-2020:3090 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-15104
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-w5f5-6qhq-hhrg
- istio.io https://istio.io/latest/news/security/istio-security-2020-008/
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-15104.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-5765.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-15104
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-15104
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.