Improper Certificate Validation Affecting org.springframework.cloud:spring-cloud-gateway package, versions [3.1.0,3.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.85% (91st 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-JAVA-ORGSPRINGFRAMEWORKCLOUD-19267408
  • published26 Aug 2026
  • disclosed1 Mar 2022
  • creditBenjamin Bargeton

Introduced: 1 Mar 2022

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

How to fix?

Upgrade org.springframework.cloud:spring-cloud-gateway to version 3.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the TrustManager process when HTTP2 is enabled and neither a key store nor trusted certificates are configured. An attacker can intercept or manipulate traffic by presenting invalid or custom certificates to the gateway. This is only exploitable if HTTP2 is enabled and no key store or trusted certificates are set.

CVSS Base Scores

version 4.0
version 3.1