Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

WAF as a Service
Results will update as you type.
  • What's New in the Barracuda WAF-as-a-Service
  • Understanding the Global Infrastructure
  • Application Security Insights
  • Getting Started
  • Configuring WAF-as-a-Service
  • Managing Your Account
  • Components
  • Tips and Troubleshooting
  • Reports
  • Barracuda WAF-as-a-Service and CloudGen Access
  • Critical Vulnerabilities
    • Claroty JSON SQLi Vulnerabilities
    • Spring Framework: Critical Vulnerability Spring4Shell
    • Apache Log4j Critical Vulnerability (CVE-2021-44228)
    • Zafran: BreakingWAF Security Vulnerability
    • React2Shell CVE-2025-55182 - React and Next.js Remote Code Execution Vulnerabilities
    • NGINX2Root Vulnerabilities
  • WaaS API Version 4
  • Traffic Evaluation in Passive Mode
  • Barracuda WAF-as-a-Service Vulnerability Database
  • LLM Security

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Spring Framework: Critical Vulnerability Spring4Shell
    Published Apr 05, 2022

    Spring Framework: Critical Vulnerability Spring4Shell

    Apr 05, 2022
    Subscribe

    This article provides updates on recently discovered vulnerabilities (CVE-2022-22963 and CVE-2022-22965) in Spring Framework.

    The following table provides key information about the vulnerabilities.

    CVE Number

    Commonly Known/Associated As

    Criticality &  CVSS Score

    Exploit Type

    Software Firmware Versions

    Prerequisite to Exploit Vulnerability

    Barracuda WAF-as-a-Service Affected

    CVE-2022-22965

    Spring4Shell

    Relates to old CVE-2010-1622

    Zero-day

    RCE

    Spring MVC and Spring WebFlux applications running on JDK 9+ 

    Application running on Tomcat as the Servlet container 

    NO

    CVE-2022-22963 

    SpEL (Spring Expression Language)

    Critical

    ELV->RCE 

    Spring Cloud Function versions : 3.1.6, 3.2.2 and older unsupported versions

     

    NO

    Description

    Spring Framework is an application framework and inversion of control container for the Java platform. Recently, two vulnerabilities were discovered in Spring Framework (CVE-2022-22965) and in Spring Cloud Function (CVE-2022-22963).

    Spring4Shell is a misnomer for all these vulnerabilities combined (CVE-2022-22965, CVE-2022-22950 & CVE-2022-22963) . Spring4Shell refers to CVE-2022-22965. Also, note that Spring4Shell has no relation with the log4shell vulnerability.

    The following sections list the difference between these vulnerabilities, along with their affects and mitigation.

    CVE-2022-22963

    Description

    CVE-2022-22963 was reported on March 29, 2022 - It affects Spring Cloud functions only, which is not in Spring Framework. Spring has already released a newer version to take care of this. CVE-2022-22963 uses routing functionality to provide specially crafted Spring Expression Language (SpEL) as a routing expression to access local resources and perform RCE. It uses a specific HTTP request header: spring.cloud.function.routing-expression.

    Barracuda WAF-as-a-Service is not affected by this vulnerability. 

    Exploit

    This is an RCE, and a malicious actor can provide a specially crafted SpEL as a routing expression that may result in access to local resources.

    Mitigations

    • Barracuda WAF-as-a-Service already mitigates this vulnerability

    Recommendation

    You can update your infrastructure as follows:

    • Vendor Advisory : https://tanzu.vmware.com/security/cve-2022-22963

    • Users of affected versions should upgrade to 3.1.7, 3.2.3. No other steps are necessary. Releases that have fixed this issue include:

    • Spring Cloud Function

      • 3.1.7

      • 3.2.3

    CVE-2022-22965

    Description

    This vulnerability affects Spring MVC and Spring WebFlux applications running on JDK 9+. The specific exploit requires the application to run on Tomcat as a WAR deployment and will not work if the Spring Boot executable is in jar deployment. So by default, the deployed application is not vulnerable to this exploit.

    Barracuda WAF-as-a-Service is not affected by this vulnerability.

    Exploit:

    This is an RCE vulnerability, in Spring Core version 5.3.17 or earlier (for 5.3.x) and version 5.2.19 or earlier (for 5.2.x). It appears to be a bypass of protections set up for CVE-2010-1622.

    Mitigations:

    • Barracuda WAF-as-a-Service already mitigates this vulnerability.

    Recommendations:

    You can update your infrastructure as follows:

    Vendor advisory : https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

    • Spring Framework 5.3.18 and 5.2.20, which contain the fixes, have been released.

    • Spring Boot 2.6.6 and 2.5.12 that depend on Spring Framework 5.3.18 have been released.

    • Apache Tomcat has released versions 10.0.20, 9.0.62, and 8.5.78 which close the attack vector on Tomcat’s side, see Spring Framework RCE, Mitigation Alternative.

    Further Reading:
    • https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

    • https://spring.io/blog/2022/

    • https://thehackernews.com/2022/03/security-patch-releases-for-critical.html

    • https://securityboulevard.com/2022/04/critical-alert-spring4shell-rce-cve-2022-22965-in-spring/

    • https://www.databreachtoday.com/springshell-spring-cloud-function-bugs-need-urgent-patching-a-18822?rf=2022-04-01_ENEWS_ACQ_DBT__Slot1_ART18822&mkt_tok=MDUxLVpYSS0yMzcAAAGDhN0UVdOzrHrKZ5NyWSdphDsc9RZujJR2Ql6F_wl1E76Mg_Jl9KwJ1UwpdfwvOvnl_wfRLxm9p9ZCw5fXY2mVj8lKo2bgINjkzUq4o191m9OkRoKzMQ


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 32, "requestCorrelationId": "3d2c1bc2aeb9498b9d7df1fd9fe7b6a9"}