CVE-2022-22965
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-04-04). If you run an affected version, patch or mitigate now.
Fixed builds are available from Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | libspring-java | Fixed | 4.3.30-2ubuntu1 | UBUNTU-CVE-2022-22965 |
| Ubuntu 24.04 | libspring-java | Fix pending | 4.3.30-2ubuntu0.24.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-22965 |
| Ubuntu 22.04 | libspring-java | Fix pending | 4.3.30-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-22965 |
| Ubuntu 20.04 | libspring-java | Fix pending | 4.3.22-4ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-22965 |
| Ubuntu 18.04 | libspring-java | Fix pending | 4.3.22-1~18.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-22965 |
| Ubuntu 16.04 | libspring-java | Fix pending | ||
| Debian 14 | libspring-java | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-22965 | |
| Debian 13 | libspring-java | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-22965 | |
| Debian 12 | libspring-java | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-22965 | |
| Maven library | org.springframework.boot:spring-boot-starter-web | Fixed | 2.6.6 | GHSA-36p3-wjmg-h94x |
| Maven library | org.springframework.boot:spring-boot-starter-webflux | Fixed | 2.5.12 | GHSA-36p3-wjmg-h94x |
| Maven library | org.springframework:spring-beans | Fixed | 5.3.18 | GHSA-36p3-wjmg-h94x |
| Maven library | org.springframework:spring-webflux | Fixed | 5.3.18 | GHSA-36p3-wjmg-h94x |
| Maven library | org.springframework:spring-webmvc | Fixed | 5.3.18 | GHSA-36p3-wjmg-h94x |
What the vendor says
As published in the CVE record by vmware, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Spring Framework: affected: 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
Vendor advisories:
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-sprin… (vendor-advisory)
References
- https://tanzu.vmware.com/security/cve-2022-22965
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
- http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.