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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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=true

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.

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
org.springframework:spring-beans security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.