CVE-2023-5384: Infinispan Credential Exposure in Configuration Files

Summary

28/12/2023
Yes i
Moderate
2.7

CVE-2023-5384: Infinispan caches credentials in clear text. Affects org.infinispan:infinispan-core across 2 version ranges.

< 14.0.25.Final >= 15.0.0.Dev01, < 15.0.0.Dev07

Fixed in 14.0.25.Final or 15.0.0.Dev07, depending on the release line you run. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Infinispan is a distributed in-memory key/value data store and cache, designed for high performance and scalability. It is widely used in Java applications for caching and data storage. The package provides various features such as data partitioning, replication, and persistence. However, a significant vulnerability has been identified that exposes sensitive credentials in clear text when configurations are serialized to XML, JSON, or YAML formats.

Vulnerability Detail

A flaw exists in Infinispan where credentials, particularly those related to JDBC stores with connection pooling and remote stores, are serialized in clear text during the configuration process. This vulnerability arises from inadequate handling of sensitive information, allowing attackers to potentially access these credentials if the configuration files are exposed. The ramifications include unauthorized access to databases and other services that rely on these credentials, leading to data breaches and compromised systems.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 14.0.25.Final 14.0.25.Final
  • >= 15.0.0.Dev01, < 15.0.0.Dev07 15.0.0.Dev07

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, avoid including sensitive credentials in configuration files. Instead, consider using environment variables or secure vaults to manage sensitive information. This can be achieved by modifying your application to read credentials from a secure source rather than hardcoding them in configuration files.

Conclusion

The vulnerability CVE-2023-5384 in Infinispan poses a significant risk by exposing sensitive credentials in clear text. Users are advised to upgrade to the latest versions to mitigate this risk. In the meantime, implementing workarounds can help secure sensitive information until an upgrade can be performed.

See every vulnerability recorded for org.infinispan:infinispan-core →

Share this vulnerability

FAQ

CVE-2023-5384 is a vulnerability in Infinispan that exposes sensitive credentials in clear text when configuration files are serialized.

Versions prior to 15.0.0.Dev07 and 14.0.25.Final are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the pom.xml file. Visit Vulert Scanner to check your application without needing to sign up.

The risks include unauthorized access to databases and services, leading to data breaches and compromised systems.

If an immediate upgrade is not possible, implement workarounds such as using environment variables or secure vaults to manage sensitive credentials.

Related vulnerabilities

Recent vulnerabilities recorded for org.infinispan:infinispan-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 14.0.25.Final 14.0.25.Final
  • >= 15.0.0.Dev01, < 15.0.0.Dev07 15.0.0.Dev07

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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