CVE-2022-21656: envoyproxy envoy Improper Certificate Validation
Vulnerability summary
CVE-2022-21656 is a high (CVSS 7.4) Improper Certificate Validation vulnerability in envoyproxy envoy. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 51.2% of scored vulnerabilities.
Timeline
- 22-02-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
0.00 pp
From 0.67% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-295Improper Certificate ValidationThe product does not validate, or incorrectly validates, a certificate.
- CWE-843Access of Resource Using Incompatible Type ('Type Confusion')The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Affected systems
Envoyproxy1 product
- envoy< 1.20.2
1 vendor · 1 product
References
2 links- github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2X Refsource CONFIRMIssue TrackingThird Party Advisory
- github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64eX Refsource MISCPatchThird Party Advisory