CVE-2022-21657
CVE-2022-21657 is a medium-severity vulnerability in Envoyproxy Envoy with a CVSS 3.x base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: Medium (CVSS 3.x base score 6.8)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-295
- Affected product: Envoyproxy Envoy
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-21657?
- 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.
- How severe is CVE-2022-21657?
- CVE-2022-21657 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2022-21657 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-21657?
- CVE-2022-21657 affects Envoyproxy Envoy. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-21657?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-21657 published?
- CVE-2022-21657 was published on 2022-02-22 and last updated on 2026-06-17.
References
- https://github.com/envoyproxy/envoy/pull/630
- https://github.com/envoyproxy/envoy/security/advisories/GHSA-837m-wjrv-vm5g
Affected products (1)
- cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
More vulnerabilities in Envoyproxy Envoy
- CVE-2022-29226 — Critical (CVSS 10.0): Envoy is a cloud-native high-performance proxy. In versions prior to 1.22.1 the OAuth filter implementation does not…
- CVE-2019-18802 — Critical (CVSS 9.8): An issue was discovered in Envoy 1.12.0. An untrusted remote client may send an HTTP header (such as Host) with…
- CVE-2019-18801 — Critical (CVSS 9.8): An issue was discovered in Envoy 1.12.0. An untrusted remote client may send HTTP/2 requests that write to the heap…
- CVE-2020-35470 — High (CVSS 8.8): Envoy before 1.16.1 logs an incorrect downstream address because it considers only the directly connected peer, not the…
- CVE-2024-23324 — High (CVSS 8.6): Envoy is a high-performance edge/middle/service proxy. External authentication can be bypassed by downstream…
- CVE-2023-35941 — High (CVSS 8.6): Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0,…
All CVEs affecting Envoyproxy Envoy →
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-4370 — Critical (CVSS 10.0): A vulnerability was identified in Juju from version 3.2.0 until 3.6.19 and from version 4.0 until 4.0.4, where the…
- CVE-2026-30836 — Critical (CVSS 10.0): Step CA is an online certificate authority for secure, automated certificate management for DevOps. Versions 0.30.0-rc6…
- CVE-2025-68121 — Critical (CVSS 10.0): During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between…
- CVE-2022-20703 — Critical (CVSS 10.0): Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker…
- CVE-2021-1471 — Critical (CVSS 9.9): Multiple vulnerabilities in Cisco Jabber for Windows, Cisco Jabber for MacOS, and Cisco Jabber for mobile platforms…
- CVE-2026-20184 — Critical (CVSS 9.8): A vulnerability in the integration of single sign-on (SSO) with Control Hub in Cisco Webex Services could have allowed…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →