Skip to content
OpenAdvisories
Medium · 4.6 CVE-2020-15104 EUVD-2020-7219

TLS Validation Vulnerability in Envoy

Published Jul 14, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
envoyproxy envoy < 1.12.6, >= 1.13.0, < 1.13.4, >= 1.14.0, < 1.14.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Service Mesh 1 servicemesh-proxy 1.1.5-1.el8 RHSA-2020:3090

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 istio +10 1.4.10-1.0.1.el7 ELSA-2020-5765
Oracle Linux 7 kata 1.7.3-1.0.7.el7 ELSA-2020-5765
Oracle Linux 7 kata-image 1.7.3-1.0.5.1.ol7_202007011859 ELSA-2020-5765
Oracle Linux 7 kata-runtime 1.7.3-1.0.5.el7 ELSA-2020-5765
Oracle Linux 7 kernel-uek-container 4.14.35-1902.303.5.3.el7 ELSA-2020-5765
Oracle Linux 7 kubeadm +2 1.17.9-1.0.1.el7 ELSA-2020-5765
Oracle Linux 7 olcnectl +6 1.1.2-6.el7 ELSA-2020-5765

Advisories 2

References