Improper Certificate Validation in envoy - CVE-2022-21657

 

Improper Certificate Validation in envoy - CVE-2022-21657

Published: February 22, 2022 / Updated: August 26, 2026


Vulnerability identifier: #VU145837
CSH Severity: Low
CVSS v4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21657
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass certificate trust purpose restrictions.

The vulnerability exists due to improper certificate validation in X.509 extended key usage and trust purpose verification when validating certificates. A remote user can present a crafted certificate to bypass certificate trust purpose restrictions.


Affected software

envoy

How to mitigate CVE-2022-21657

Install security update from vendor's website.

envoy - addressed in versions 1.18.6, 1.19.3, 1.20.2

External References

Related Security Bulletins