CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HKnown as Spring4Shell, SpringShell
Critical (9.8) in VMware Spring Framework. In CISA KEV since 2022-04-04. EPSS 99.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-beans 5.2.20.RELEASE, 5.3.18.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.springframework:spring-beans (Maven): fixed in 5.2.20.RELEASE, 5.3.18org.springframework:spring-webmvc (Maven): fixed in 5.2.20.RELEASE, 5.3.18org.springframework.boot:spring-boot-starter-web (Maven): fixed in 2.5.12, 2.6.6org.springframework:spring-webflux (Maven): fixed in 5.2.20.RELEASE, 5.3.18org.springframework.boot:spring-boot-starter-webflux (Maven): fixed in 2.5.12, 2.6.6Explain CVE-2022-22965 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-22965?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-22965?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-22965 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| vmware:spring_framework | before 5.2.20 |
| vmware:spring_framework | from 5.3.0 before 5.3.18 |
| cisco:cx_cloud_agent | before 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 | before 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 | before 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 | before 1.2.1 |
| siemens:sinec_network_management_system | before 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 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-beans | <5.2.20.RELEASE | 5.2.20.RELEASE |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-beans | >=5.3.0 <5.3.18 | 5.3.18 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-webmvc | <5.2.20.RELEASE | 5.2.20.RELEASE |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-webmvc | >=5.3.0 <5.3.18 | 5.3.18 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework.boot:spring-boot-starter-web | <2.5.12 | 2.5.12 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework.boot:spring-boot-starter-web | >=2.6.0 <2.6.6 | 2.6.6 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-webflux | <5.2.20.RELEASE | 5.2.20.RELEASE |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework:spring-webflux | >=5.3.0 <5.3.18 | 5.3.18 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework.boot:spring-boot-starter-webflux | <2.5.12 | 2.5.12 |
| GHSA-36p3-wjmg-h94x | Maven | org.springframework.boot:spring-boot-starter-webflux | >=2.6.0 <2.6.6 | 2.6.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | libspring-java | no fix listed | DEBIAN-CVE-2022-22965 |
| Ubuntu | 25.10 | libspring-java | 4.3.30-2ubuntu1 | UBUNTU-CVE-2022-22965 |
| Ubuntu | Pro:18.04:LTS | libspring-java | 4.3.22-1~18.04.1~esm1 | UBUNTU-CVE-2022-22965 USN-7165-1 |
| Ubuntu | Pro:20.04:LTS | libspring-java | 4.3.22-4ubuntu0.1~esm1 | UBUNTU-CVE-2022-22965 USN-7165-1 |
| Ubuntu | Pro:22.04:LTS | libspring-java | 4.3.30-1ubuntu0.1~esm1 | UBUNTU-CVE-2022-22965 USN-7165-1 |
| Ubuntu | Pro:24.04:LTS | libspring-java | 4.3.30-2ubuntu0.24.04.1~esm1 | UBUNTU-CVE-2022-22965 USN-7165-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
The reporter of this flaw provided a proof-of-concept that relied on Apache Tomcat; it accessed the classloader and changed logging properties to place a web shell in Tomcat's root directory, and was able to call various commands subsequently.
There are several conditions required to achieve this exploit:
-Java 9 or newer version
-Apache Tomcat as the Servlet container
-packaged as WAR file
-spring-webmvc or spring-webflux dependency
-no protections in place against malicious data bindings (ex: WebDataBinder allow list)
There may be other exploit paths than this, possibly not utilizing Tomcat.
For those who are not able to upgrade affected Spring classes to the fixed versions, there is a workaround customers can implement for their applications, via setting disallowed fields on the data binder, and denying various iterations of the string "class.*"
For full implementation details, see Spring's early announcement post in the "suggested workarounds" section: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement#suggested-workarounds
| Product | Package | State | Advisory |
|---|---|---|---|
| CEQ 2.2.1-1 (CVE-2022-22965) | Fixed 2022-04-11 | RHSA-2022:1306 | |
| Red Hat AMQ 7.8.6 | Fixed 2022-04-27 | RHSA-2022:1626 | |
| Red Hat AMQ 7.9.4 | spring-webmvc | Fixed 2022-04-27 | RHSA-2022:1627 |
| Red Hat Fuse 7.10.2 | spring-webmvc | Fixed 2022-04-13 | RHSA-2022:1360 |
| RHDM 7.12.1 async | spring-webmvc | Fixed 2022-04-14 | RHSA-2022:1379 |
| RHINT Camel-K 1.6.5 | spring-beans | Fixed 2022-04-12 | RHSA-2022:1333 |
| RHPAM 7.12.1 async | spring-webmvc | Fixed 2022-04-14 | RHSA-2022:1378 |
| Red Hat Integration Camel Quarkus 1 | spring-beans | Affected | |
| Red Hat JBoss A-MQ 6 | spring-webmvc | Fix deferred | |
| Red Hat JBoss Fuse 6 | spring-webmvc | Fix deferred | |
| Red Hat Virtualization 4 | rhvm-dependencies | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-22965.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-22-286-05 | Hitachi Energy Lumada Asset Performance Management Prognostic Model Executor Service | 2022-10-13 | Energy | Lumada Asset Performance Manager (APM) - Lumada Asset Performance Manager (APM) online service (SaaS) version 6.3.220323.0 and prior, Lumada Asset Performance Manager (APM) - Lumada Asset Performance Manager (APM) versions 6.0.0.0 to 6.0.0.4, Lumada Asset Performance Manager (APM) - Lumada Asset Performance Manager (APM) versions 6.1.0.0 and 6.1.0.1 and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.