Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-context
  4. ›
  5. CVE-2025-22233

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

May 16, 2025 (updated June 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.

Affected version(s)Fix Version Availability
 6.2.x6.2.7OSS
6.1.x6.1.20OSS
6.0.x6.0.28Commercial https://enterprise.spring.io/
5.3.x5.3.43Commercial 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.

References

  • github.com/advisories/GHSA-4wp7-92pw-q264
  • github.com/spring-projects/spring-framework
  • github.com/spring-projects/spring-framework/commit/edfcc6ffb188e4614ec9b212e3208b666981851c
  • github.com/spring-projects/spring-framework/commit/ee62701f5634e904e42e218baad142cea2bcd332
  • github.com/spring-projects/spring-framework/issues/34801
  • nvd.nist.gov/vuln/detail/CVE-2025-22233
  • spring.io/security/cve-2025-22233

Code Behaviors & Features

Detect and mitigate CVE-2025-22233 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.3.39, all versions starting from 6.0.0 up to 6.0.23, all versions starting from 6.1.0 before 6.1.20, all versions starting from 6.2.0 before 6.2.7

Fixed versions

  • 6.2.7
  • 6.1.20

Solution

Upgrade to versions 6.1.20, 6.2.7 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.springframework/spring-context/CVE-2025-22233.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:25 +0000.