CVE-2022-22965: Spring Framework JDK 9+ Remote Code Execution Vulnerability

Published Mar 31, 2022
·
Updated

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 Software

106 affected componentsFixes available
debian/libspring-java<=4.3.30-1, <=4.3.30-2
maven/org.springframework:spring-webflux<5.2.20.RELEASE
5.2.20.RELEASE
maven/org.springframework:spring-webmvc<5.2.20.RELEASE
5.2.20.RELEASE
maven/org.springframework:spring-beans<5.2.20.RELEASE
5.2.20.RELEASE
maven/org.springframework.boot:spring-boot-starter-webflux>=2.6.0<2.6.6
2.6.6
maven/org.springframework.boot:spring-boot-starter-webflux<2.5.12
2.5.12
maven/org.springframework:spring-webflux>=5.3.0<5.3.18
5.3.18
maven/org.springframework.boot:spring-boot-starter-web>=2.6.0<2.6.6
2.6.6
maven/org.springframework.boot:spring-boot-starter-web<2.5.12
2.5.12
maven/org.springframework:spring-webmvc>=5.3.0<5.3.18
5.3.18
maven/org.springframework:spring-beans>=5.3.0<5.3.18
5.3.18
VMware Spring Framework
VMware Spring Framework<5.2.20
VMware Spring Framework>=5.3.0<5.3.18
Cisco CX Cloud Agent<2.1.0
Oracle Communications Cloud Native Core Automated Test Suite=1.9.0
Oracle Communications Cloud Native Core Automated Test Suite=22.1.0
Oracle Communications Cloud Native Core Console=1.9.0
Oracle Communications Cloud Native Core Console=22.1.0
Oracle Communications Cloud Native Core Network Exposure Function=22.1.0
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=1.10.0
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=22.1.0
Oracle Communications Cloud Native Core Network Repository Function=1.15.0
Oracle Communications Cloud Native Core Network Repository Function=22.1.0
Oracle Communications Cloud Native Core Network Slice Selection Function=1.8.0
Oracle Communications Cloud Native Core Network Slice Selection Function=1.15.0
Oracle Communications Cloud Native Core Network Slice Selection Function=22.1.0
Oracle Communications Cloud Native Core Policy=1.15.0
Oracle Communications Cloud Native Core Policy=22.1.0
Oracle Communications Cloud Native Core Security Edge Protection Proxy=1.7.0
Oracle Communications Cloud Native Core Security Edge Protection Proxy=22.1.0
Oracle Communications Cloud Native Core Unified Data Repository=1.15.0
Oracle Communications Cloud Native Core Unified Data Repository=22.1.0
Oracle Communications Policy Management=12.6.0.0.0
Oracle Financial Services Analytical Applications Infrastructure=8.1.1
Oracle Financial Services Analytical Applications Infrastructure=8.1.2.0
Oracle Financial Services Behavior Detection Platform=8.1.1.0
Oracle Financial Services Behavior Detection Platform=8.1.1.1
Oracle Financial Services Behavior Detection Platform=8.1.2.0
Oracle Financial Services Enterprise Case Management=8.1.1.0
Oracle Financial Services Enterprise Case Management=8.1.1.1
Oracle Financial Services Enterprise Case Management=8.1.2.0
Oracle MySQL Enterprise Monitor<8.0.29
Oracle Product Lifecycle Analytics=3.6.1
Oracle Retail Xstore Point of Service=20.0.1
Oracle Retail Xstore Point of Service=21.0.0
Oracle SD-WAN Edge=9.0
Oracle SD-WAN Edge=9.1
Siemens Operation Scheduler<2.0.4
Siemens SiPass integrated=2.80
Siemens SiPass integrated=2.85
Siemens Siveillance Identity=1.5
Siemens Siveillance Identity=1.6
Veritas Access Appliance=7.4.3
Veritas Access Appliance=7.4.3.100
Veritas Access Appliance=7.4.3.200
Veritas Flex Appliance=1.3
Veritas Flex Appliance=2.0
Veritas Flex Appliance=2.0.1
Veritas Flex Appliance=2.0.2
Veritas Flex Appliance=2.1
Veritas Netbackup Flex Scale Appliance=2.1
Veritas Netbackup Flex Scale Appliance=3.0
Veritas NetBackup Appliance=4.0
Veritas NetBackup Appliance=4.0.0.1-maintenance_release1
Veritas NetBackup Appliance=4.0.0.1-maintenance_release2
Veritas NetBackup Appliance=4.0.0.1-maintenance_release3
Veritas NetBackup Appliance=4.1
Veritas NetBackup Appliance=4.1.0.1-maintenance_release1
Veritas NetBackup Appliance=4.1.0.1-maintenance_release2
Veritas Netbackup Virtual Appliance=4.0
Veritas Netbackup Virtual Appliance=4.0.0.1-maintenance_release1
Veritas Netbackup Virtual Appliance=4.0.0.1-maintenance_release2
Veritas Netbackup Virtual Appliance=4.0.0.1-maintenance_release3
Veritas Netbackup Virtual Appliance=4.1
Veritas Netbackup Virtual Appliance=4.1.0.1-maintenance_release1
Veritas Netbackup Virtual Appliance=4.1.0.1-maintenance_release2
Siemens Simatic Speech Assistant For Machines<1.2.1
Siemens Sinec Network Management System<1.0.3
Oracle Commerce Platform=11.3.2
Oracle Communications Cloud Native Core Binding Support Function=22.1.3
Oracle Communications Unified Inventory Management=7.4.1
Oracle Communications Unified Inventory Management=7.4.2
Oracle Communications Unified Inventory Management=7.5.0
Oracle Retail Bulk Data Integration=16.0.3
Oracle Retail Customer Management and Segmentation Foundation=17.0
Oracle Retail Customer Management and Segmentation Foundation=18.0
Oracle Retail Customer Management and Segmentation Foundation=19.0
Oracle Retail Financial Integration=14.1.3.2
Oracle Retail Financial Integration=15.0.3.1
Oracle Retail Financial Integration=16.0.3
Oracle Retail Financial Integration=19.0.1
Oracle Retail Integration Bus=14.1.3.2
Oracle Retail Integration Bus=15.0.3.1
Oracle Retail Integration Bus=16.0.3
Oracle Retail Integration Bus=19.0.1
Oracle Retail Merchandising System=16.0.3
Oracle Retail Merchandising System=19.0.1
Oracle WebLogic Server=12.2.1.3.0
Oracle WebLogic Server=12.2.1.4.0
Oracle WebLogic Server=14.1.1.0.0
All of the following
Any of the following
VMware Spring Framework<5.2.20
VMware Spring Framework>=5.3.0<5.3.18
Oracle JDK>=9
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.springframework:spring-webflux to a version that resolves this vulnerability.

    Fixed in 5.2.20.RELEASE
  2. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 5.2.20.RELEASE
  3. Upgrade

    Upgrade maven/org.springframework:spring-beans to a version that resolves this vulnerability.

    Fixed in 5.2.20.RELEASE
  4. Upgrade

    Upgrade maven/org.springframework.boot:spring-boot-starter-webflux to a version that resolves this vulnerability.

    Fixed in 2.6.6
  5. Upgrade

    Upgrade maven/org.springframework.boot:spring-boot-starter-webflux to a version that resolves this vulnerability.

    Fixed in 2.5.12
  6. Upgrade

    Upgrade maven/org.springframework:spring-webflux to a version that resolves this vulnerability.

    Fixed in 5.3.18
  7. Upgrade

    Upgrade maven/org.springframework.boot:spring-boot-starter-web to a version that resolves this vulnerability.

    Fixed in 2.6.6
  8. Upgrade

    Upgrade maven/org.springframework.boot:spring-boot-starter-web to a version that resolves this vulnerability.

    Fixed in 2.5.12
  9. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 5.3.18
  10. Upgrade

    Upgrade maven/org.springframework:spring-beans to a version that resolves this vulnerability.

    Fixed in 5.3.18
  11. Upgrade

    Upgrade Spring Boot to a version that resolves this vulnerability.

    Fixed in 2.6.6
  12. Upgrade

    Upgrade Spring Boot to a version that resolves this vulnerability.

    Fixed in 2.5.12
  13. Upgrade

    Upgrade Spring Framework to a version that resolves this vulnerability.

    Fixed in 5.3.18
  14. Upgrade

    Upgrade Spring Framework to a version that resolves this vulnerability.

    Fixed in 5.2.20.RELEASE
  15. Configuration

    If unable to upgrade, apply the centrally applied workaround by setting `disallowedFields` on `WebDataBinder` via an `@ControllerAdvice` for Spring MVC/WebFlux. Note: controllers that define `disallowedFields` locally using their own `@InitBinder` can override the global setting.

    Spring MVC (WebDataBinder / WebMvcRegistrations / RequestMappingHandlerAdapter) disallowedFields on WebDataBinder (via ControllerAdvice) = set disallowedFields on WebDataBinder through an @ControllerAdvice
  16. Configuration

    For a more fail-safe workaround, extend `RequestMappingHandlerAdapter` (Spring MVC) to update `WebDataBinder` at the end, after all other initialization, to reduce loopholes from locally overridden `disallowedFields`.

    Spring MVC (RequestMappingHandlerAdapter) WebDataBinder updated at end of initialization = extend RequestMappingHandlerAdapter to update WebDataBinder at the end after other initialization

Event History

Mar 31, 2022
Advisory Published
via GitHub·06:30 PM
Apr 1, 2022
CVE Published
via MITRE·10:17 PM
Data Sourced
via MITRE·10:17 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 4, 2022
Known Exploited
via CISA·12:00 AM
Dec 18, 2024
Data Sourced
via Ubuntu·01:16 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·01:17 PM
Description
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-22965?

CVE-2022-22965 has been assigned a severity rating that indicates a high risk of remote code execution in affected Spring MVC or Spring WebFlux applications.

2

How do I fix CVE-2022-22965?

To mitigate CVE-2022-22965, update your Spring Framework to version 5.2.20.RELEASE or later, or ensure you are using Spring Boot 2.5.12 or later.

3

Which applications are affected by CVE-2022-22965?

CVE-2022-22965 affects Spring MVC or Spring WebFlux applications running on JDK 9+ deployed as WAR files on Tomcat.

4

Is CVE-2022-22965 exploitable if using Spring Boot executable jar?

No, CVE-2022-22965 is specifically exploitable only in Spring MVC or Spring WebFlux applications deployed as WAR files on Tomcat.

5

What versions of Spring Framework are vulnerable to CVE-2022-22965?

Versions of Spring Framework prior to 5.2.20.RELEASE and from 5.3.0 up to 5.3.18 are considered vulnerable to CVE-2022-22965.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203