Improper Certificate Validation Affecting envoyproxy/envoy package, versions [1.18.0, 1.18.6)[1.19.0, 1.19.3)[1.20.0, 1.20.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-2411012
  • published23 Feb 2022
  • disclosed23 Feb 2022
  • creditUnknown

Introduced: 23 Feb 2022

CVE-2022-21657  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.18.6, 1.19.3, 1.20.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation. 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.

CVSS Scores

version 3.1