CVE-2022-21656: Envoy is an open source edge and service proxy, designed for cloud-native applications.
Medium CVSS 5.9
- CVE id
- CVE-2022-21656
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Envoy Runtimes and servers |
< 1.20.2 | 1.20.2 |
How to fix it
Upgrade Envoy to 1.20.2 or later.
envoy --version
- Upgrade Envoy (the envoyproxy/envoy image tag) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
References
- CVE-2022-21656 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-21656
- Web: https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e
- Web: https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2
- Web: https://github.com/envoyproxy/envoy/commit/bb95af848c939cfe5b5ee33c5b1770558077e64e
- Web: https://github.com/envoyproxy/envoy/security/advisories/GHSA-c9g7-xwcv-pjx2
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.