Actively exploited · Published Mar 3, 2022 · Assigned by vmware

CVE-2022-22947

Critical 10.0 Exploited

In plain English

A critical-severity code injection in Spring Cloud Gateway. Attackers are actively exploiting it in the wild (listed by CISA on May 16, 2022). The chance it is exploited in the next 30 days is estimated at 98.3% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)98.3%top 0.1% of all CVEs
Exploited in the wildYesCISA KEV since May 16, 2022
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Jun 6, 2022.

Official description

In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured. A remote attacker could make a maliciously crafted request that could allow arbitrary remote execution on the remote host.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.cloud:spring-cloud-gateway3.0.7GHSA-3gx9-37ww-9qw6
Mavenorg.springframework.cloud:spring-cloud-gateway3.1.1GHSA-3gx9-37ww-9qw6

Affected products (as reported)

VendorProductVersions
n/a Spring Cloud Gateway Spring cloud gateway versions 3.1.x prior to 3.1.1+, 3.0.x prior to 3.0.7+ and all old and unsupported versions

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References