CVE-2021-22051
Request injection in Spring Cloud Gateway
Reported by vmware · Published November 8, 2021
spring-cloud-gateway is fixed in 3.0.5, 2.2.10.RELEASE0.5 and 2.2.10.RELEASE (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-gateway | Maven Central | 3.0.5, 2.2.10.RELEASE0.5, 2.2.10.RELEASE |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Cloud Gateway | 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE, and older versions |
| n/a | Spring Cloud Gateway | 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE, and older versions |
Timeline
- Nov 5, 2021 CVE Published
- Nov 8, 2021 PoC Published
- Nov 9, 2021 EPSS Score (30 in total, the first dated here)
- Nov 10, 2021 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22051
vulnetix vdb fixes CVE-2021-22051
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22051/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart