Known exploited vulnerability
CVE-2022-22965
The short answer
CVE-2022-22965 affects n/a Spring Framework and is rated critical (CVSS 9.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-04-04: attackers are using it, so patch it first. Fixed versions are published for spring-beans (5.2.20.RELEASE, 5.3.18) and spring-webmvc (5.2.20.RELEASE, 5.3.18).
What it is
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.
Weakness: CWE-94.
Severity
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Apr 4, 2022
Federal due date Apr 25, 2022
EPSS, next 30 days
100%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| org.springframework:spring-beans | Maven | 5.2.20.RELEASE, 5.3.18 | GHSA-36p3-wjmg-h94x |
| org.springframework:spring-webmvc | Maven | 5.2.20.RELEASE, 5.3.18 | GHSA-36p3-wjmg-h94x |
| org.springframework.boot:spring-boot-starter-web | Maven | 2.5.12, 2.6.6 | GHSA-36p3-wjmg-h94x |
| org.springframework:spring-webflux | Maven | 5.2.20.RELEASE, 5.3.18 | GHSA-36p3-wjmg-h94x |
| org.springframework.boot:spring-boot-starter-webflux | Maven | 2.5.12, 2.6.6 | GHSA-36p3-wjmg-h94x |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
Spring Framework. NVD's record lists the exact affected versions.
References
- cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf PatchThird Party Advisory
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 Third Party Advisory
- tanzu.vmware.com/security/cve-2022-22965 MitigationVendor Advisory
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67 Third Party Advisory
- www.oracle.com/security-alerts/cpuapr2022.html Third Party Advisory
- www.oracle.com/security-alerts/cpujul2022.html PatchThird Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf PatchThird Party Advisory
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 Third Party Advisory
- tanzu.vmware.com/security/cve-2022-22965 MitigationVendor Advisory
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67 Third Party Advisory
- www.kb.cert.org/vuls/id/970766 US Government Resource
- www.oracle.com/security-alerts/cpuapr2022.html Third Party Advisory
Questions
Is CVE-2022-22965 being exploited?
Yes. CISA added CVE-2022-22965 to its Known Exploited Vulnerabilities catalog on 2022-04-04, with a federal remediation due date of 2022-04-25.
How do I fix CVE-2022-22965?
Upgrade to a fixed version: org.springframework:spring-beans (Maven) 5.2.20.RELEASE or 5.3.18; org.springframework:spring-webmvc (Maven) 5.2.20.RELEASE or 5.3.18; org.springframework.boot:spring-boot-starter-web (Maven) 2.5.12 or 2.6.6; org.springframework:spring-webflux (Maven) 5.2.20.RELEASE or 5.3.18. CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
VMware exploited vulnerabilities
Everything CISA lists as exploited for VMware.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.