Skip to content
Vulnerability PoC public RCE

Spring Framework RCE flaw CVE-2022-22965 patched in 5.3.18 and 5.2.20

A remote code execution vulnerability in Spring Framework, dubbed Spring4Shell, has been confirmed and patched.

Reported by blog.sonatype.com

Summary updated

Read the coverage
Public PoC
Yes
Exploited
Not known
CVSS
9.8 Critical

What happened

A previously unknown remote code execution flaw in Spring Framework, called Spring4Shell, was disclosed and assigned CVE-2022-22965 with a CVSS score of 9.8.1

The flaw affects the spring-beans artifact and requires JDK9 or newer; it is a bypass of an older CVE, CVE-2010-1622.1

Known attack forms also require Tomcat, the application to be packaged as a war, and the vulnerable class to be present.1

Who is affected

  • Spring Framework (spring-beans), most known versions to date1

Is there a public exploit?

Yes, public A proof-of-concept exploit surfaced on a GitHub repository.1

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Upgrade to Spring Framework 5.3.18 or 5.2.20, or Spring Boot 2.6.6.1

For bug hunters

This is a remote code execution bug caused by unsafe deserialisation and class loading through Spring's DataBinder. In bounty programs, similar flaws appear wherever Java applications bind user input to objects, especially with older frameworks or custom property editors. Test endpoints that accept structured parameters and look for ways to influence class loading or property paths.

What to test

  • Probe endpoints that bind request parameters to server-side objects for unexpected class instantiation.
  • Check for Spring Framework versions below 5.3.18 or 5.2.20 in error pages or headers.
  • Attempt to manipulate property paths in form or query parameters to reach class loaders.
  • Test whether the application runs on Tomcat with JDK9 or newer and is packaged as a war.

The RCE lesson Every RCE report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    blog.sonatype.com

    New Spring Framework RCE Vulnerability Confirmed What to do?
    “Fri 1 Apr 11.00 BST - Guidance for Sonatype customers, clarified conditions of known exploits, evidence of mass scanning”

Reports about RCE

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, RCE first.