{"id":"CVE-2022-21656","aliases":["BIT-envoy-2022-21656","GHSA-c9g7-xwcv-pjx2"],"summary":"X.509 subjectAltName matching bypass in Envoy","published_at":"2022-02-22T22:25:11Z","modified_at":"2026-09-10T16:01:31.586916Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006719999946653843,"percentile":0.5285999774932861,"date":"2026-11-19T00:00:00Z"},"priority":9.4,"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.","affected_stack":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-proxy-wasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"fixed":["1.20.2"],"provider":"osv","source":"BIT-envoy-2022-21656","relation":"self"},{"ecosystem":"CVE","package":"envoyproxy/envoy","versions":["< 1.20.2"],"provider":"cvelistv5","source":"CVE-2022-21656","relation":"self"},{"ecosystem":"NVD","package":"envoyproxy:envoy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"fixed":["1.20.2"],"provider":"nvd","source":"CVE-2022-21656","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2","cpe":"cpe:/a:redhat:service_mesh:2","status":"not_affected","packages":["openshift-service-mesh/proxyv2-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-21656"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-proxy"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-21656"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-proxy","servicemesh-proxy-wasm"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-21656"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-21656","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-21656","license":"CC-BY-4.0","published_at":"2022-02-22T22:25:11Z","modified_at":"2025-04-23T19:01:38.563Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2022-21656"}],"affected":[{"ecosystem":"CVE","package":"envoyproxy/envoy","versions":["< 1.20.2"],"provider":"cvelistv5","source":"CVE-2022-21656","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2"},{"type":"WEB","url":"https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e"}]},{"provider":"nvd","source_id":"CVE-2022-21656","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656","severity":[],"affected":[{"ecosystem":"NVD","package":"envoyproxy:envoy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"fixed":["1.20.2"],"provider":"nvd","source":"CVE-2022-21656","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-envoy-2022-21656","relation":"self","url":"https://osv.dev/vulnerability/BIT-envoy-2022-21656","license":"Apache-2.0","published_at":"2024-03-06T10:56:05.46Z","modified_at":"2026-09-10T16:01:31.586916Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"BIT-envoy-2022-21656"}],"affected":[{"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"fixed":["1.20.2"],"provider":"osv","source":"BIT-envoy-2022-21656","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2022-21656","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-21656","license":"CC-BY-4.0","published_at":"2022-02-23T00:00:00Z","modified_at":"2023-09-01T03:02:17Z","summary":"envoy: X.509 subjectAltName matching (and nameConstraints) bypass","details":"A flaw was found in envoy. The default_validator.cc implementation used to implement the default certificate validation routines has a \"type confusion\" bug when processing subjectAltNames.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CVE-2022-21656"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-21656"}],"affected":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-proxy-wasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-21656","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2","cpe":"cpe:/a:redhat:service_mesh:2","status":"not_affected","packages":["openshift-service-mesh/proxyv2-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-21656"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-proxy"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-21656"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-proxy","servicemesh-proxy-wasm"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-21656"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21656.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-21656"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2057271"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-21656"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656"},{"type":"WEB","url":"https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e"},{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2"}]}],"references":[{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2"},{"type":"WEB","url":"https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21656.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-21656"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2057271"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-21656"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-21656","url":"https://www.cve.org/CVERecord?id=CVE-2022-21656","license":"CC-BY-4.0","modified_at":"2025-04-23T19:01:38.563Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-21656","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21656","relation":"self"},{"provider":"osv","source_id":"BIT-envoy-2022-21656","url":"https://osv.dev/vulnerability/BIT-envoy-2022-21656","license":"Apache-2.0","modified_at":"2026-09-10T16:01:31.586916Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-21656","url":"https://access.redhat.com/security/cve/CVE-2022-21656","license":"CC-BY-4.0","modified_at":"2023-09-01T03:02:17Z","relation":"self"}]}
