Skip to content
Fencer Intel
medium 6.5

CVE-2021-22051 json

Request injection in Spring Cloud Gateway

published 5y ago modified 4mo ago also GHSA-2r2v-q399-qq93 , EUVD-2021-2279

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.springframework.cloud:spring-cloud-gateway 2.2.10.RELEASE0.5, 3.0.5
  • vmware spring_cloud_gateway 2.2.10, 3.0.5

Is CVE-2021-22051 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:P/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
maven org.springframework.cloud:spring-cloud-gateway
>=3.0.0, <3.0.5
>=2.2.0, <2.2.10.RELEASE0.5
3.0.5
2.2.10.RELEASE0.5

Affected products

  • n/a Spring Cloud Gateway

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.