CVE & CISA-KEV Catalog

CVE-2022-21657

MEDIUM
6.8
CVSS v3
NVD

Description

Envoy is an open source edge and service proxy, designed for cloud-native applications. In affected versions Envoy does not restrict the set of certificates it accepts from the peer, either as a TLS client or a TLS server, to only those certificates that contain the necessary extendedKeyUsage (id-kp-serverAuth and id-kp-clientAuth, respectively). This means that a peer may present an e-mail certificate (e.g. id-kp-emailProtection), either as a leaf certificate or as a CA in the chain, and it will be accepted for TLS. This is particularly bad when combined with the issue described in pull request #630, in that it allows a Web PKI CA that is intended only for use with S/MIME, and thus exempted from audit or supervision, to issue TLS certificates that will be accepted by Envoy. As a result Envoy will trust upstream certificates that should not be trusted. There are no known workarounds to this issue. Users are advised to upgrade.

How to fix

Remediation Available
envoyNVD
Affected:>= 1.20.0, < 1.20.2Fixed in:1.20.2CVE-2022-21657derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

0.51%probability of exploitation in 30 days
40thpercentile

Low risk: more likely to be exploited than 40% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-295 (Improper Certificate Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-4000Low3.7100%-Fix
CVE-2020-0601High8.189%KEVFix
CVE-2009-3555Critical9.887%-Fix
CVE-2022-26923High8.883%KEVFix
CVE-2023-27823Critical9.853%--
CVE-2022-42979High8.824%--
Embed a live status badge for CVE-2022-21657
CVE-2022-21657 severity badge

Markdown

[![CVE-2022-21657](https://tridentstack.com/cve/badge/CVE-2022-21657.svg)](https://tridentstack.com/cve/CVE-2022-21657)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-21657"><img src="https://tridentstack.com/cve/badge/CVE-2022-21657.svg" alt="CVE-2022-21657"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.