{"id":"CVE-2022-21656","aliases":["CVE-2022-21656","BIT-ENVOY-2022-21656","GHSA-c9g7-xwcv-pjx2"],"related":[],"kind":"vulnerability","state":"published","title":"X.509 subjectAltName matching bypass in Envoy","summary":"Envoy is an open source edge and service proxy, designed for cloud-native applications. The default_validator.cc implementation used to implement the default certificate validation routines has a \"type confusion\" bug when processing subjectAltNames. This processing allows, for example, an rfc822Name or uniformResourceIndicator to be authenticated as a domain name. This confusion allows for the bypassing of nameConstraints, as processed by the underlying OpenSSL/BoringSSL implementation, exposing the possibility of impersonation of arbitrary servers. As a result Envoy will trust upstream certificates that should not be trusted.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Envoy is an open source edge and service proxy, designed for cloud-native applications. The default_validator.cc implementation used to implement the default certificate validation routines has a \"type confusion\" bug when processing subjectAltNames. This processing allows, for example, an rfc822Name or uniformResourceIndicator to be authenticated as a domain name. This confusion allows for the bypassing of nameConstraints, as processed by the underlying OpenSSL/BoringSSL implementation, exposing the possibility of impersonation of arbitrary servers. As a result Envoy will trust upstream certificates that should not be trusted.","source":"cvelist"},{"lang":"es","text":"Envoy es un proxy de borde y servicio de código abierto, diseñado para aplicaciones nativas de la nube. La implementación default_validator.cc usada para implementar las rutinas de comprobación de certificados por defecto presenta un error de \"confusión de tipo\" cuando procesa subjectAltNames. Este procesamiento permite, por ejemplo, que un rfc822Name o uniformResourceIndicator sea autenticado como un nombre de dominio. Esta confusión permite omitir nameConstraints, tal y como lo procesa la implementación subyacente de OpenSSL/BoringSSL, exponiendo la posibilidad de suplantación de servidores arbitrarios. Como resultado, Envoy confiará en certificados de origen que no deberían ser confiables","source":"nvd"}],"published":"2022-02-22T22:25:11.000Z","modified":"2026-09-10T16:01:31.586Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-295","CWE-843"],"affected":[{"ranges":[{"version":"< 1.20.2","status":"affected"}],"vendor":"envoyproxy","product":"envoy","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.20.2"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.2"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2","tags":["advisory","issue-tracking","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:55:47.477Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21656","url":"https://www.cve.org/CVERecord?id=CVE-2022-21656","licence":"CVE Terms of Use","modified":"2025-04-23T19:01:38.563Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21656","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656","licence":"Public domain","modified":"2026-06-17T04:26:41.863Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2022-21656","url":"https://osv.dev/vulnerability/BIT-ENVOY-2022-21656","licence":"Apache-2.0","modified":"2026-09-10T16:01:31.586Z"}],"updatedAt":"2026-11-25T22:58:09.793Z","epss":{"score":0.00677,"percentile":0.53569,"date":"2026-12-01T12:00:22.000Z"}}