Spring Framework DataBinder Case Sensitive Match Exception
Low severity
GitHub Reviewed
Published
May 16, 2025
to the GitHub Advisory Database
•
Updated Jun 2, 2025
Package
Affected versions
>= 6.2.0, <= 6.2.6
>= 6.1.0, <= 6.1.19
>= 6.0.0, <= 6.0.23
<= 5.3.39
Patched versions
6.2.7
6.1.20
Description
Published by the National Vulnerability Database
May 16, 2025
Published to the GitHub Advisory Database
May 16, 2025
Reviewed
Jun 2, 2025
Last updated
Jun 2, 2025
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.
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.
References