WaratekVRT Sign in

CVE-2022-22947 spring cloud gateway

Affected softwarespring cloud gateway
Severity10.0 Critical CVSS 3.1 3 scores
Fixed in3.0.7, 3.1.1
WeaknessCode injection (CWE-94)
Published3 Mar 2022
Updated17 Jun 2026

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.

CWE-917 · Expression language injection

Exploitation status

Exploited

Confirmed real-world exploitation.

  • CISA KEV listed Confirmed exploitation in the wild. Added 2022-05-16 · remediation due 2022-06-06 · ransomware use: unknown
  • VulnCheck KEV listed Exploitation reported in the wild. 28 citations · honeypot sightings · 54 exploits · earliest 2022-04-27.
  • CISA Vulnrichment exploitation: active CISA records active exploitation. Automatable: yes, technical impact: total.
  • Indexed PoC 60 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC, Metasploit, Nuclei; first seen 2022-03-02.
  • EPSS 98% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.9% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2022-22947 in VulnCheck (free account), which lists 23 more citations and 49 more exploit references not shown here.

EvidenceSourceDetailDate
Honeypot sighting Shadowserver honeypots Exploitation attempts seen on 297 days 2023-11-18 to 2026-11-10
Honeypot sighting VulnCheck canaries Exploitation attempts seen on 39 days 2025-11-03 to 2026-11-05
Reported exploitation botconf.eu /wp-content/uploads/2022/05/Botconf2022-24-PalotayZsigovits.pdf 2022-04-27
Reported exploitation bleepingcomputer.com /news/security/microsoft-sysrv-botnet-targets-windows-linux-servers-with-new-exploits 2022-05-13
Reported exploitation cisa.gov /sites/default/files/feeds/known_exploited_vulnerabilities.json 2022-05-16
Reported exploitation malwarebytes.com /blog/news/2022/05/sysrv-botnet-is-out-to-mine-monero-on-your-windows-and-linux-servers 2022-05-22
Reported exploitation cybersecurity.att.com /blogs/labs-research/rapidly-evolving-iot-malware-enemybot-now-targeting-content-management-system-servers 2022-05-26
Exploit reference VulnCheck XDB fd72b929a3ae Exploit type: initial-access 2022-03-02
Exploit reference VulnCheck XDB 9f8ecee41cb2 Exploit type: initial-access 2022-03-03
Exploit reference VulnCheck XDB befe5bc2b98f Exploit type: initial-access 2022-03-03
Exploit reference VulnCheck XDB ef9e824eaf8f Exploit type: initial-access 2022-03-03
Exploit reference VulnCheck XDB 27539aa6c18d Exploit type: initial-access 2022-03-04
IndexArtifactStarsFirst seen
GitHub PoC CVE-2022-22947 221 2022-03-02
Nuclei Spring Cloud Gateway Code Injection
Exploit-DB Spring Cloud Gateway 3.1.0 - Remote Code Execution (RCE) 2022-03-07
Metasploit Spring Cloud Gateway Remote Code Execution (excellent rank)
GitHub PoC CVE-2022-22947 注入Godzilla内存马 210 2022-04-26
GitHub PoC Spring Cloud Gateway 远程代码执行漏洞Exp Spring_Cloud_Gateway_RCE_Exp-CVE-2022-22947 77 2022-03-03
GitHub PoC CVE-2022-22947批量 72 2022-03-04
GitHub PoC Spring Cloud Gateway Actuator API SpEL表达式注入命令执行(CVE-2022-22947) 注入哥斯拉内存马 59 2022-05-16
GitHub PoC Spring Cloud Gateway < 3.0.7 & < 3.1.1 Code Injection (RCE) 37 2022-03-03
GitHub PoC CVE-2022-22947_EXP,CVE-2022-22947_RCE,CVE-2022-22947反弹shell,CVE-2022-22947 getshell 34 2022-03-08

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.springframework.cloud:spring-cloud-gateway), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

10.0 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 10.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H NVD Primary published
CVSS 3.1 10.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CISA-ADP Secondary
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Communications / BSF (Spring Cloud Gateway) (22.1.3)
Oracle Communications / CNC Console (Spring Cloud Gateway) (22.2.0)
Oracle Communications / NRF (Spring Cloud Gateway) (22.1.2, 22.2.0)
Oracle Communications / SEPP (Spring Cloud Gateway) (22.1.1)
Oracle Critical Patch Update April 2022 ↗ CPU 2022-Q2 Oracle Communications / NEF (Spring Cloud Gateway) (22.1.0)
Oracle Communications / NSSF (Spring Cloud Gateway) (22.1.0, 1.8.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications BSF (Spring Cloud Gateway) 22.1.3 22.1.3
Oracle Communications CNC Console (Spring Cloud Gateway) 22.2.0 22.2.0
Oracle Communications NEF (Spring Cloud Gateway) 22.1.0 22.1.0
Oracle Communications NRF (Spring Cloud Gateway) 22.1.2, 22.2.0 22.1.2 · 22.2.0
Oracle Communications NSSF (Spring Cloud Gateway) 22.1.0, 1.8.0 1.8.0 · 22.1.0
Oracle Communications SEPP (Spring Cloud Gateway) 22.1.1 22.1.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.cloud:spring-cloud-gateway 0 3.0.7 unbounded
org.springframework.cloud:spring-cloud-gateway 3.1.0 3.1.1 unbounded

Products and versions

11 products, 18 version entries
SourceVendorProductSchemeAffected versions
nvd oracle commerce guided search generic 11.3.2
nvd oracle communications cloud native core binding support function generic 1.11.0 · 22.1.3
nvd oracle communications cloud native core console generic 22.2.0
nvd oracle communications cloud native core network exposure function generic 22.1.0
nvd oracle communications cloud native core network function cloud native environment generic 1.10.0
nvd oracle communications cloud native core network repository function generic 1.15.0 · 1.15.1 · 22.1.2 · 22.2.0
nvd oracle communications cloud native core network slice selection function generic 1.8.0 · 22.1.0
nvd oracle communications cloud native core security edge protection proxy generic 22.1.1
nvd oracle communications cloud native core service communication proxy generic 1.15.0
osv org.springframework.cloud spring-cloud-gateway generic < 3.0.7 · ≥ 3.1.0 and < 3.1.1
nvd vmware spring cloud gateway generic < 3.0.7 · 3.1.0

References

URLTags
https://tanzu.vmware.com/security/cve-2022-22947 WEB
https://www.oracle.com/security-alerts/cpuapr2022.html WEB
https://www.oracle.com/security-alerts/cpujul2022.html WEB
http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html WEB
http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html WEB
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947 US Government Resource

Timeline

Published2022-03-03By the CVE Program.
VulnCheck KEV: earliest evidence2022-04-27Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
Added to CISA KEV2022-05-16Listed in CISA's Known Exploited Vulnerabilities catalog.
NVD record modified2026-06-17NVD's own last-modified date for this record.
VulnCheck KEV: latest evidence2026-11-10Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.