# CVE-2021-22051: Request injection in Spring Cloud Gateway

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2021-11-08T13:37:29.000Z
- Modified: 2026-06-17T03:36:36.763Z
- Also known as: GHSA-2r2v-q399-qq93
- Weaknesses: CWE-352, CWE-863
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Cloud Gateway: 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE, and older versions
- org.springframework.cloud:spring-cloud-gateway (Maven): from 3.0.0 before 3.0.5; from 2.2.0 before 2.2.10.RELEASE0.5
- vmware spring_cloud_gateway: before 2.2.10; from 3.0.0 before 3.0.5

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://tanzu.vmware.com/security/cve-2021-22051> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22051> (advisory)

## Sources

- CVE List: [CVE-2021-22051](https://www.cve.org/CVERecord?id=CVE-2021-22051), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2r2v-q399-qq93](https://github.com/advisories/GHSA-2r2v-q399-qq93), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-22051](https://nvd.nist.gov/vuln/detail/CVE-2021-22051), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22051 · Whole record: https://cve.day/CVE-2021-22051.json · Rebuilt by cve.day 2026-11-25T22:58:05.412Z
