GitHub Advisory Database
GHSA-hh26-6xwr-ggv7
Denial of service in Spring Framework
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework:spring-beans | All versions before 5.2.22.RELEASE (fixed in 5.2.22.RELEASE) |
| Maven | org.springframework:spring-beans | From 5.3.0 before 5.3.20 (fixed in 5.3.20) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22970
- https://github.com/spring-projects/spring-framework/commit/50177b1ad3485bd44239b1756f6c14607476fcf2
- https://github.com/spring-projects/spring-framework/commit/83186b689f11f5e6efe7ccc08fdeb92f66fcd583
- https://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20220616-0006
- https://tanzu.vmware.com/security/cve-2022-22970
- https://www.oracle.com/security-alerts/cpujul2022.html