Critical Vulnerability in libspring-java Package: Locale-Independent Lowercase Conversion Bypass
Summary
UBUNTU-CVE-2025-22233: CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. Affects libspring-java versions 3.0.6.RELEASE-10 – 3.0.6.RELEASE-9. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The libspring-java package is a core component of the Spring Framework, which is widely used for building enterprise-level applications in Java. It provides comprehensive infrastructure support for developing Java applications, including features for dependency injection, transaction management, and web application development. However, recent vulnerabilities have been identified that could potentially compromise the security of applications relying on this package.
Vulnerability Detail
CVE-2025-22233 is a vulnerability that allows for a bypass of the disallowedFields checks in the Spring Framework. This issue arises from the Locale-independent, lowercase conversion implemented for both configured disallowedFields patterns and request parameter names. The vulnerability affects multiple versions of the Spring Framework, including 6.2.0 to 6.2.6, 6.1.0 to 6.1.19, 6.0.0 to 6.0.27, and 5.3.0 to 5.3.42. If exploited, this vulnerability could allow attackers to manipulate request parameters and potentially gain unauthorized access to sensitive data, posing a significant risk to application integrity.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
While waiting for the patch, users are advised to use a dedicated model object with properties only for data binding or to implement constructor binding, which explicitly declares what to bind. Additionally, when using setter binding, it is recommended to prefer allowedFields (an explicit list) over disallowedFields.
Conclusion
The CVE-2025-22233 vulnerability poses a significant risk to applications using the libspring-java package. It is crucial for users to upgrade to the patched versions to mitigate potential security threats. Implementing best practices for data binding can further enhance application security.
See every vulnerability recorded for libspring-java →
FAQ
CVE-2025-22233 is a vulnerability in the Spring Framework that allows for a bypass of disallowedFields checks, potentially leading to unauthorized access to sensitive data.
Affected versions include libspring-java versions 3.0.6, 3.2.13, 4.3.22, and 4.3.30 across various Ubuntu distributions.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Upgrade to the patched versions of the Spring Framework as specified in the 'how to fix' section. Implementing a dedicated model object for data binding is also recommended.
The CVSS score for CVE-2025-22233 is 3.1, indicating a medium severity level.
Related vulnerabilities
Recent vulnerabilities recorded for libspring-java.