NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-22233: Spring Framework DataBinder Case Sensitive Match Exception

lowCVSS 3.1 3.1GHSA-4wp7-92pw-q264

CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. However, there are still cases where it is possible to bypass the disallowedFields checks.

Published May 16, 2025 · Updated Jun 2, 2025

Affected packages

org.springframework:spring-context

Ecosystem
Maven
Affected
>= 6.2.0, <= 6.2.6
Fixed in
6.2.7
Check
mvn dependency:tree -Dincludes=org.springframework:spring-context

org.springframework:spring-context

Ecosystem
Maven
Affected
>= 6.1.0, <= 6.1.19
Fixed in
6.1.20
Check
mvn dependency:tree -Dincludes=org.springframework:spring-context

org.springframework:spring-context

Ecosystem
Maven
Affected
>= 6.0.0, <= 6.0.23
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-context

org.springframework:spring-context

Ecosystem
Maven
Affected
<= 5.3.39
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-context

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. However, there are still cases where it is possible to bypass the disallowedFields checks.

Affected Spring Products and Versions

Spring Framework:

  • 6.2.0 - 6.2.6
  • 6.1.0 - 6.1.19
  • 6.0.0 - 6.0.27
  • 5.3.0 - 5.3.42
  • Older, unsupported versions are also affected

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

| Affected version(s) | Fix Version | Availability |
| 6.2.x |  6.2.7 | OSS |
| 6.1.x |  6.1.20 | OSS |
| 6.0.x |  6.0.28 |  Commercial https://enterprise.spring.io/ |
| 5.3.x |  5.3.43 | Commercial https://enterprise.spring.io/  |

No further mitigation steps are necessary.

Generally, we recommend using a dedicated model object with properties only for data binding, or using constructor binding since constructor arguments explicitly declare what to bind together with turning off setter binding through the declarativeBinding flag. See the Model Design section in the reference documentation.

For setting binding, prefer the use of allowedFields (an explicit list) over disallowedFields.

Credit

This issue was responsibly reported by the TERASOLUNA Framework Development Team from NTT DATA Group Corporation.

Credited to ryanmurf.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries