What’s Vulnerable › Vulnerabilities
CVE-2021-22051
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-11-08 · updated 2026-06-17
- Weakness: CWE-863
Description
Applications using Spring Cloud Gateway are vulnerable to specifically crafted requests that could make an extra request on downstream services. Users of affected versions should apply the following mitigation: 3.0.x users should upgrade to 3.0.5+, 2.2.x users should upgrade to 2.2.10.RELEASE or newer.
Affected products
- Spring Cloud Gateway: before 2.2.10; from 3.0.0 before 3.0.5 — fixed in 2.2.10, 3.0.5
- Spring Cloud Gateway: through 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE,
How to fix
Upgrade to a fixed version: Spring Cloud Gateway 2.2.10, 3.0.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2021-22051 or the next vulnerability affects your stack