LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2022-22947: VMware Spring Cloud Gateway Code Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·May 16, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 6, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2022-22947 to its Known Exploited Vulnerabilities catalog on May 16, 2022, with a federal patch deadline of Jun 6, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.

CVE-2022-22947 is a code injection vulnerability in VMware Spring Cloud Gateway. When the Gateway Actuator endpoint is enabled, exposed, and left unsecured, an attacker can inject and run code in the application. That puts the gateway and anything it fronts at risk of takeover, data access, or further lateral movement. Confirm exact product scope and fixed releases against the vendor advisory.

CISA notes that Spring Cloud Gateway applications are vulnerable under those actuator conditions and directs organizations to apply updates per vendor instructions. Ransomware use is not documented for this CVE.

How it works

This issue falls under CWE-94 (Improper Control of Generation of Code, or Code Injection). In short, the application can be tricked into treating attacker-supplied input as code that the runtime then executes.

In Spring Cloud Gateway, the risk appears when the Gateway Actuator endpoint is turned on, reachable from an untrusted network, and not properly secured. An attacker who can reach that endpoint may send crafted requests that cause the gateway process to evaluate and run injected code. The result is arbitrary code execution in the context of the gateway service. Exact request shape and preconditions must be taken from the vendor advisory; do not assume exploit details beyond the CWE-94 class and the actuator exposure condition described by CISA.

Am I affected? How to find it in your systems

Spring Cloud Gateway is commonly deployed as an API gateway or edge routing layer in Java/Spring-based microservices environments—on VMs, containers, Kubernetes, or platform-as-a-service stacks. Inventory any service that routes or aggregates traffic using Spring Cloud Gateway.

How to remediate

Patch first. Apply the updates specified by the vendor for VMware Spring Cloud Gateway, following the advisory’s instructions exactly. CISA’s required action is to apply updates per vendor instructions.

If you can't patch immediately

Reduce exposure until you can apply the vendor update.

If your data may have been exposed

Actively exploited code-injection flaws in internet-facing gateways can lead to full application compromise and follow-on data access. If you had an exposed, unsecured Gateway Actuator on a vulnerable build, assume possible compromise until you investigate: isolate affected hosts, preserve logs and memory/disk evidence, rotate credentials and secrets the gateway could reach, and review downstream systems the gateway authenticates to. Ransomware use is not documented for this CVE, but that does not rule out other malicious activity. You can run a free exposure scan of your email addresses against known breach data to see whether associated accounts appear in public breach corpora, then prioritize password resets and monitoring for those identities.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedVMware · Spring Cloud Gateway
WeaknessCWE-94
Added to CISA KEVMay 16, 2022
Federal patch deadlineJun 6, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities