The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-22965

CVE-2022-22965: VMware Spring Framework RCE Vulnerability

CVE-2022-22965 is a remote code execution flaw in VMware Spring Framework affecting applications on JDK 9+ with Tomcat WAR deployments. This post covers the technical details, affected versions, and mitigation steps.

Published: February 25, 2026

CVE-2022-22965 Overview

CVE-2022-22965, commonly known as "Spring4Shell," is a critical remote code execution vulnerability affecting VMware Spring Framework applications running on JDK 9 and later. This vulnerability allows unauthenticated attackers to execute arbitrary code on vulnerable systems through the data binding mechanism in Spring MVC or Spring WebFlux applications. The specific exploit requires the application to be deployed as a WAR file on Apache Tomcat, though the underlying vulnerability may be exploitable through other vectors.

Critical Impact

This vulnerability enables unauthenticated remote code execution on affected Spring Framework applications deployed on Tomcat with JDK 9+. Active exploitation has been observed in the wild, and this CVE is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Affected Products

  • VMware Spring Framework (versions prior to 5.3.18 and 5.2.20)
  • Oracle JDK 9 and later versions
  • Cisco CX Cloud Agent
  • Oracle Communications Cloud Native Core (multiple components)
  • Oracle WebLogic Server (12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0)
  • Oracle Financial Services products (multiple)
  • Oracle Retail products (multiple)
  • Siemens Operation Scheduler, SIPASS Integrated, Siveillance Identity, SINEC NMS
  • Veritas NetBackup Appliance and related products

Discovery Timeline

  • April 1, 2022 - CVE-2022-22965 published to NVD
  • October 30, 2025 - Last updated in NVD database

Technical Details for CVE-2022-22965

Vulnerability Analysis

Spring4Shell exploits a flaw in the Spring Framework's data binding functionality when running on Java Development Kit (JDK) version 9 or higher. The vulnerability stems from changes introduced in JDK 9 that exposed the class.module.classLoader property through Spring's data binding mechanism. When an attacker sends specially crafted HTTP requests to a vulnerable application, they can manipulate the class loader to modify Tomcat's logging properties, ultimately achieving arbitrary file write capabilities that lead to remote code execution.

The attack specifically targets the AccessLogValve class in Apache Tomcat, allowing attackers to write a malicious JSP webshell to the web root directory. Once the webshell is deployed, attackers can execute arbitrary commands with the privileges of the Tomcat service account.

Root Cause

The root cause lies in how Spring Framework's data binding feature processes HTTP request parameters. In JDK 9+, the module system introduced new ways to access class properties that were not adequately restricted by Spring's existing security controls. The class.module.classLoader chain provides an attack path that allows modification of Tomcat's internal configuration through parameter binding, bypassing the blacklist that was implemented after the original CVE-2010-1622 vulnerability.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends a series of HTTP requests with specially crafted parameters that:

  1. Access the class loader through the class.module.classLoader property chain
  2. Modify Tomcat's AccessLogValve properties to change the log pattern, directory, prefix, and suffix
  3. Write a JSP webshell to an accessible location within the web application
  4. Execute arbitrary commands through the deployed webshell
sh
## Dockerhub
docker pull bobtheshoplifter/spring4shell-poc:latest
docker run bobtheshoplifter/spring4shell-poc:latest --url https://example.io/
## Github docker repository
docker pull ghcr.io/bobtheshoplifter/spring4shell-poc:main
docker run ghcr.io/bobtheshoplifter/spring4shell-poc:main --url https://example.io/

Source: Spring4Shell-POC Repository

Detection Methods for CVE-2022-22965

Indicators of Compromise

  • Unexpected JSP files appearing in Tomcat web application directories (commonly named tomcatwar.jsp, shell.jsp, or similar)
  • Suspicious HTTP POST requests containing parameters like class.module.classLoader.resources.context.parent.pipeline.first.pattern
  • Modified Tomcat access log configurations pointing to JSP file extensions
  • Unusual process execution spawning from the Tomcat Java process
  • Web access logs showing requests to newly created JSP files with command parameters

Detection Strategies

  • Monitor HTTP request parameters for exploitation patterns including class.module.classLoader property chains
  • Implement WAF rules to block requests containing Spring4Shell exploitation strings
  • Deploy file integrity monitoring on Tomcat web application directories to detect unauthorized JSP file creation
  • Enable verbose Tomcat logging and monitor for configuration changes to AccessLogValve
  • Use YARA rules or IDS signatures specifically designed for Spring4Shell exploitation attempts

Monitoring Recommendations

  • Configure SIEM alerts for HTTP requests with abnormally long parameter names or values containing class loader manipulation patterns
  • Monitor Java process behavior for unexpected child process creation or network connections
  • Implement endpoint detection to identify post-exploitation activities such as webshell deployment
  • Review Tomcat server.xml and logging configurations for unauthorized modifications
  • Establish baseline metrics for normal application behavior to identify anomalous patterns

How to Mitigate CVE-2022-22965

Immediate Actions Required

  • Upgrade Spring Framework to version 5.3.18+ or 5.2.20+ immediately
  • Upgrade Apache Tomcat to versions 10.0.20+, 9.0.62+, or 8.5.78+ which include mitigations
  • If immediate patching is not possible, downgrade to JDK 8 as a temporary workaround
  • Audit all Spring-based applications to identify WAR deployments on Tomcat with JDK 9+
  • Implement WAF rules to block exploitation attempts while patches are being applied

Patch Information

VMware has released patched versions of Spring Framework addressing this vulnerability. Organizations should upgrade to Spring Framework 5.3.18 or later for the 5.3.x branch, or 5.2.20 or later for the 5.2.x branch. Additionally, Apache Tomcat has released updates that include supplementary mitigations. Refer to the VMware Security Advisory and Oracle Security Alerts for vendor-specific guidance on affected products.

Workarounds

  • Implement a ControllerAdvice component that sets disallowed fields for the class.* property pattern in the data binder
  • Deploy Spring Framework applications as executable JAR files instead of WAR deployments where possible
  • Apply network segmentation to restrict access to vulnerable applications from untrusted networks
  • Use reverse proxy configurations to filter malicious request parameters before they reach the application
  • Disable remote class loading by setting appropriate JVM security manager policies
bash
# Configuration example - Add to Spring application to block exploitation
# Create a ControllerAdvice class with the following configuration:
# @InitBinder
# public void setDisallowedFields(WebDataBinder dataBinder) {
#     String[] denylist = new String[]{"class.*", "Class.*", "*.class.*", "*.Class.*"};
#     dataBinder.setDisallowedFields(denylist);
# }

# Alternatively, set JVM property to use older module access:
java -jar application.jar --spring.mvc.bind-methods=none

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechVmware Spring Framework

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.43%

  • Known ExploitedYes
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-94
  • Technical References
  • Packet Storm Spring4Shell Exploit

  • Packet Storm Spring4Shell RCE Advisory

  • SonicWall Vulnerability Report SNWLID-2022-0005

  • Cisco Security Advisory for Java Spring RCE

  • Oracle Security Alert CPU April 2022

  • CERT Vulnerability Note VUL-970766

  • CISA Known Exploited Vulnerabilities CVE-2022-22965
  • Vendor Resources
  • Siemens Security Advisory SSA-254054

  • VMware CVE-2022-22965 Details

  • Oracle Security Alert CPU July 2022
  • Related CVEs
  • CVE-2024-38808: VMware Spring Framework DoS Vulnerability

  • CVE-2023-20861: VMware Spring Framework DoS Vulnerability

  • CVE-2023-20860: Spring Framework Auth Bypass Vulnerability

  • CVE-2023-20863: VMware Spring Framework DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English