Vulnerability · Published May 12, 2022 · Assigned by vmware

CVE-2022-22970

Medium 5.3

In plain English

A medium-severity resource allocation without limits in Spring Framework. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)2.0%top 19.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20jenkins2.361.2-r0ALPINE-CVE-2022-22970
Alpine:v3.21jenkins2.361.2-r0ALPINE-CVE-2022-22970
Alpine:v3.22jenkins2.361.2-r0ALPINE-CVE-2022-22970
Alpine:v3.23jenkins2.361.2-r0ALPINE-CVE-2022-22970
Alpine:v3.24jenkins2.361.2-r0ALPINE-CVE-2022-22970
Debian:12libspring-javano fix listedDEBIAN-CVE-2022-22970
Debian:13libspring-javano fix listedDEBIAN-CVE-2022-22970
Debian:14libspring-javano fix listedDEBIAN-CVE-2022-22970
Mavenorg.springframework:spring-beans5.3.20GHSA-hh26-6xwr-ggv7
Mavenorg.springframework:spring-beans5.2.22.RELEASEGHSA-hh26-6xwr-ggv7
Ubuntu:25.10libspring-javano fix listedUBUNTU-CVE-2022-22970
Ubuntu:26.04:LTSlibspring-javano fix listedUBUNTU-CVE-2022-22970
Ubuntu:26.10libspring-javano fix listedUBUNTU-CVE-2022-22970

Affected products (as reported)

VendorProductVersions
n/a Spring Framework Spring Framework versions 5.3.x prior to 5.3.20, 5.2.x prior to 5.2.22 and all old and unsupported versions

Weakness: CWE-770

References