GitHub Advisoryadvisory · Maven
GHSA-4gc7-5j7h-4qph Spring Framework DataBinder Case Sensitive Match Exception
MEDIUM
Official page ↗
- Aliases
- CVE-2024-38820
- Ecosystem
- Maven
- Packages
- org.springframework:spring-context, org.springframework:spring-web
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-178
- Reviewed
- 2024-10-18
Affected packages
• Maven org.springframework:spring-context: >= 6.1.0, < 6.1.14 → fixed in 6.1.14
• Maven org.springframework:spring-web: >= 6.1.0, < 6.1.14 → fixed in 6.1.14
• Maven org.springframework:spring-web: >= 6.0.0, <= 6.0.24 (no fix yet)
• Maven org.springframework:spring-context: >= 6.0.0, <= 6.0.24 (no fix yet)
• Maven org.springframework:spring-context: <= 5.3.40 (no fix yet)
• Maven org.springframework:spring-web: <= 5.3.40 (no fix yet)
Description
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.
Related
Alias · CVE (1)
- CVE-2024-38820 The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. vulnerability
Weakness · CWE (1)
- CWE-178 Improper Handling of Case Sensitivity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38820 advisory
- https://github.com/spring-projects/spring-framework/commit/23656aebc6c7d0f9faff1080981eb4d55eff296c web
- https://github.com/spring-projects/spring-framework package
- https://github.com/spring-projects/spring-framework/commits/v6.2.0-RC2 web
- https://security.netapp.com/advisory/ntap-20241129-0003 web
- https://spring.io/security/cve-2024-38820 web