Actively exploited · Published Apr 1, 2022 · Assigned by vmware

CVE-2022-22965

Critical 9.8 Exploited

In plain English

A critical-severity code injection in Spring Framework. Attackers are actively exploiting it in the wild (listed by CISA on April 4, 2022). The chance it is exploited in the next 30 days is estimated at 99.6% (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)9.8Critical
Exploit odds (30 days)99.6%top 0.1% of all CVEs
Exploited in the wildYesCISA KEV since Apr 4, 2022
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Apr 25, 2022.

Official description

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libspring-javano fix listedDEBIAN-CVE-2022-22965
Debian:13libspring-javano fix listedDEBIAN-CVE-2022-22965
Debian:14libspring-javano fix listedDEBIAN-CVE-2022-22965
Mavenorg.springframework.boot:spring-boot-starter-web2.6.6GHSA-36p3-wjmg-h94x
Mavenorg.springframework.boot:spring-boot-starter-web2.5.12GHSA-36p3-wjmg-h94x
Mavenorg.springframework.boot:spring-boot-starter-webflux2.5.12GHSA-36p3-wjmg-h94x
Mavenorg.springframework.boot:spring-boot-starter-webflux2.6.6GHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-beans5.2.20.RELEASEGHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-beans5.3.18GHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-webflux5.3.18GHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-webflux5.2.20.RELEASEGHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-webmvc5.3.18GHSA-36p3-wjmg-h94x
Mavenorg.springframework:spring-webmvc5.2.20.RELEASEGHSA-36p3-wjmg-h94x
Ubuntu:25.10libspring-java4.3.30-2ubuntu1UBUNTU-CVE-2022-22965

Affected products (as reported)

VendorProductVersions
n/a Spring Framework Spring Framework versions 5.3.X prior to 5.3.18+, 5.2.x prior to 5.2.20+ and all old and unsupported versions

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

References