{"id":"BIT-envoy-2022-21656","summary":"X.509 subjectAltName matching bypass in Envoy","details":"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.","aliases":["CVE-2022-21656","GHSA-c9g7-xwcv-pjx2"],"modified":"2026-09-10T16:00:49.172651728Z","published":"2024-03-06T10:56:05.460Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e"},{"type":"ADVISORY","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656"}],"affected":[{"package":{"name":"envoy","ecosystem":"Bitnami","purl":"pkg:bitnami/envoy"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/envoy/BIT-envoy-2022-21656.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}],"schema_version":"1.9.0"}