CVE-2022-22965KEV · OVERDUECWE-94

Spring Framework JDK 9+ Remote Code Execution Vulnerability

Critical · published April 1, 2022

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 100.0th percentile for exploit probability.

1642
days past CISA
deadline
CVSS v3.1
9.8
EPSS
100%
Percentile
100.0
In the wild
Confirmed
What it is

🚨 A misconfigured Spring MVC or Spring WebFlux app can lead to remote code execution with just the right data binding—like giving a stranger your house key because they claimed to be a friend! 🔥 Picture this: your home is like your application, and if you leave the door wide open for anyone to enter, they could rearrange your furniture or even take your valuables. That’s the risk here—an attacker can seize control of your system if the right conditions are met. An attacker could execute arbitrary code on your server, potentially leading to a complete takeover! This could result in data breaches, service disruptions, or malicious activities that can devastate your operations and compromise sensitive information.

Put simply

Picture this: your home is like your application, and if you leave the door wide open for anyone to enter, they could rearrange your furniture or even take your valuables. That’s the risk here—an attacker can seize control of your system if the right conditions are met. This vulnerability arises from improper handling of user input during data binding in Spring applications deployed on Tomcat as WAR files. If the application is packaged as a Spring Boot JAR, it is not affected by this flaw, but other exploitation avenues exist.

What to do

An attacker could execute arbitrary code on your server, potentially leading to a complete takeover! This could result in data breaches, service disruptions, or malicious activities that can devastate your operations and compromise sensitive information. To mitigate this critical risk, ensure your Spring MVC or Spring WebFlux applications are updated to the latest version that fixes this vulnerability. Additionally, consider deploying your application as a Spring Boot executable JAR to avoid exposure. Regularly review your configuration and input validation practices. 🔒 You've got this! With the right updates and configurations, you can secure your application and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.99638 · 100.0th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-04-01T22:17Z
KEV added
2022-04-04 · due 2022-04-25
EPSS history
Timeline
  • 04 APR 00:00Z
    Added to CISA KEV — remediate by Apr 25
    kev
  • 01 APR 22:17Z
    A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding
    cvelistv5