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

CVE-2021-22051 · Severity: low · CVSS 3.1 · Published 2021-11-10

Request injection in Spring Cloud Gateway

Technologies: org.springframework.cloud:spring-cloud-gateway (Maven). Vendors: Maven.

Quick answers

Is CVE-2021-22051 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-22051 being exploited in the wild.
How severe is CVE-2021-22051?
Low severity, with a CVSS score of 3.1, published 10 November 2021.
Which products and versions are affected?
org.springframework.cloud:spring-cloud-gateway (Maven) ECOSYSTEM:introduced=3.0.0,fixed=3.0.5.
Is there a fix for CVE-2021-22051?
Yes. org.springframework.cloud:spring-cloud-gateway (Maven): upgrade to 3.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-22051?
Check whether you run org.springframework.cloud:spring-cloud-gateway (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.springframework.cloud:spring-cloud-gateway (Maven): upgrade to 3.0.5 or later
    # set org.springframework.cloud:spring-cloud-gateway to 3.0.5 in your pom.xml or build.gradle

Affected products

  • org.springframework.cloud:spring-cloud-gateway (Maven) ECOSYSTEM:introduced=3.0.0,fixed=3.0.5

Identifiers

  • CVE-2021-22051
  • GHSA-2r2v-q399-qq93

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.