CVE-2021-22051
MEDIUM 6.5CVSS 3.1Request injection in Spring Cloud Gateway
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.
- Published
- 8 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-352CWE-863
- Also known as
- GHSA-2r2v-q399-qq93
- Sources
- NVDJSONOSV GHSA-2r2v-q399-qq93JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_cloud_gatewaycpe:2.3:a:vmware:spring_cloud_gateway:*:*:*:*:*:*:*:* |
< 2.2.10 | 2.2.10 |
| NVD | vmware | spring_cloud_gatewaycpe:2.3:a:vmware:spring_cloud_gateway:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.5 | 3.0.5 |
| OSV | Maven | org.springframework.cloud:spring-cloud-gateway | >= 3.0.0, < 3.0.5 | 3.0.5 |
| OSV | Maven | org.springframework.cloud:spring-cloud-gateway | >= 2.2.0, < 2.2.10.RELEASE0.5 | 2.2.10.RELEASE0.5 |
References
- https://tanzu.vmware.com/security/cve-2021-22051 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22051 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Nov 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Nov 2021)