Critical Vulnerability in libspring-java Package: Case Insensitivity Issue in DataBinder

libspring-java Updated 03 Oct 2025

Summary

18/10/2024
N/A
No i
Low
3.1

UBUNTU-CVE-2024-38820: The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. Affects libspring-java versions 3.0.6.RELEASE-10 – 3.0.6.RELEASE-9. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libspring-java is a widely used framework that provides comprehensive support for developing Java applications. It includes various modules for aspects such as dependency injection, transaction management, and web applications. The package is integral to many enterprise-level applications, making its security paramount. This vulnerability arises from a flaw in the DataBinder component, which can lead to unintended exposure of fields due to case insensitivity in disallowedFields patterns.

Vulnerability Detail

The vulnerability, identified as CVE-2024-38820, stems from a fix for a previous issue (CVE-2022-22968) that made disallowedFields patterns in DataBinder case insensitive. However, the implementation of String.toLowerCase() has locale-dependent exceptions that could result in certain fields not being protected as intended. This could potentially allow unauthorized access to sensitive data, posing a significant security risk to applications relying on this package.

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

As a temporary workaround, developers can manually validate field names and implement additional checks to ensure that sensitive fields are not exposed. This can be done by overriding the default behavior of DataBinder in your application code, ensuring that field names are checked against a predefined list of allowed names.

Conclusion

The CVE-2024-38820 vulnerability in the libspring-java package poses a significant risk due to its case insensitivity issue in DataBinder. It is crucial for developers to update to the latest patched version to mitigate this risk. Additionally, implementing manual checks can serve as a temporary measure until the update is applied.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

CVE-2024-38820 is a vulnerability in the libspring-java package that allows certain fields to be accessed unintentionally due to case insensitivity in disallowedFields patterns.

If your application uses libspring-java, this vulnerability could lead to unauthorized access to sensitive data, potentially compromising application security.

If an immediate update is not possible, implement manual checks for field names to prevent unauthorized access as a temporary workaround.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2024-38820 is 3.1, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback