Medium severity · published Feb 22, 2022
CVE-2022-21657
Envoy is an open source edge and service proxy, designed for cloud-native applications
6.5
CVSS
0.5%
EPSS
No
On KEV
Description
Envoy is an open source edge and service proxy, designed for cloud-native applications. In affected versions Envoy does not restrict the set of certificates it accepts from the peer, either as a TLS client or a TLS server, to only those certificates that contain the necessary extendedKeyUsage (id-kp-serverAuth and id-kp-clientAuth, respectively). This means that a peer may present an e-mail certificate (e.g. id-kp-emailProtection), either as a leaf certificate or as a CA in the chain, and it will be accepted for TLS. This is particularly bad when combined with the issue described in pull request #630, in that it allows a Web PKI CA that is intended only for use with S/MIME, and thus exempted from audit or supervision, to issue TLS certificates that will be accepted by Envoy. As a result Envoy will trust upstream certificates that should not be trusted. There are no known workarounds to this issue. Users are advised to upgrade.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
Envoy · Envoyproxy
before 1.18.6; 1.19.0 before 1.19.3; 1.20.0 before 1.20.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21657
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21657
Patch
https://github.com/envoyproxy/envoy/pull/630
Issue Tracking
https://github.com/envoyproxy/envoy/security/advisories/GHSA-837m-wjrv-vm5g
More from Envoy
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2019-9901
Envoy 1.9.0 and before does not normalize HTTP URL paths
9.8
CVE-2023-35941
Envoy is an open source edge and service proxy designed for cloud-native applications
9.8
CVE-2023-27488
Envoy is an open source edge and service proxy designed for cloud-native applications
