HighGHSA-hh26-6xwr-ggv7CVE-2022-22970
Denial of service in Spring Framework
Published 13 May 2022 · Updated 14 Mar 2024
Is your project on an affected org.springframework:spring-beans?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <5.2.22.RELEASE
- Fixed in
- 5.2.22.RELEASE
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-beans -DdepVersion=5.2.22.RELEASE -DforceVersion=true- Affected
- >=5.3.0 <5.3.20
- Fixed in
- 5.3.20
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-beans -DdepVersion=5.3.20 -DforceVersion=trueDetails
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.
Is GHSA-hh26-6xwr-ggv7 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-beans, and gives you the command that fixes it.
More advisories for org.springframework:spring-beans
- CriticalCVE-2022-22965Remote Code Execution in Spring Framework · 31 Mar 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-22970
- Linkgithub.com/spring-projects/spring-framework/commit/50177b1ad3485bd44239b1756f6c14607476fcf2
- Linkgithub.com/spring-projects/spring-framework/commit/83186b689f11f5e6efe7ccc08fdeb92f66fcd583
- Packagegithub.com/spring-projects/spring-framework
- Linksecurity.netapp.com/advisory/ntap-20220616-0006
- Linktanzu.vmware.com/security/cve-2022-22970
- Linkwww.oracle.com/security-alerts/cpujul2022.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.