CVE-2022-22970
Java vulnerability analysis and mitigation

Overview

Spring Framework versions prior to 5.3.20+, 5.2.22+ and older unsupported versions contain a vulnerability where applications handling file uploads are susceptible to Denial of Service (DoS) attacks when using data binding to set a MultipartFile or javax.servlet.Part to a field in a model object. The vulnerability was discovered in May 2022 and is tracked as CVE-2022-22970 (Spring Security).

Technical details

The vulnerability affects Spring MVC and Spring WebFlux applications that handle file uploads through data binding functionality. It has been assigned a CVSS v3.1 Base Score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility with high attack complexity, requiring low privileges, and potentially resulting in high availability impact (NVD).

Impact

A successful exploitation of this vulnerability could lead to a Denial of Service condition, affecting the availability of the application. The attack specifically targets the file upload functionality when using data binding mechanisms (Spring Security).

Mitigation and workarounds

Users of affected versions should upgrade to Spring Framework version 5.3.20 for 5.3.x users or version 5.2.22 for 5.2.x users. No additional mitigation steps are necessary beyond the version upgrade (Spring Security).

Community reactions

The vulnerability was responsibly reported to VMware by Rob Ryan from Adobe Inc., with related variations reported by WeBin Lab of Dbappsecurity and Vivek Sharm from Arcesium (Spring Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management