{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21657","published":"2022-02-22T23:15:11.277000Z","last_modified":"2026-06-17T04:26:41.990000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-295"],"cpes":[{"criteria":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","part":"a","vendor":"envoyproxy","product":"envoy","version_end_excluding":"1.18.6"},{"criteria":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","part":"a","vendor":"envoyproxy","product":"envoy","version_start_including":"1.19.0","version_end_excluding":"1.19.3"},{"criteria":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","part":"a","vendor":"envoyproxy","product":"envoy","version_start_including":"1.20.0","version_end_excluding":"1.20.2"}],"cpes_truncated":false,"vendors":["envoyproxy"],"products":["envoyproxy/envoy"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00477,"percentile":0.33582,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2022-21657/","html_en":"/en/cve/CVE-2022-21657/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21657","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21657"},"untrusted":{"vendor_name":"Envoyproxy","product_name":"Envoy","desc_en":"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.","affected":[{"untrusted_vendor":"envoyproxy","untrusted_product":"envoy","versions":[]}],"references":[{"url":"https://github.com/envoyproxy/envoy/pull/630","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-837m-wjrv-vm5g","tags":["Issue Tracking","Third Party Advisory"]}]}}