# CVE-2023-5384: Infinispan: credentials returned from configuration as clear text

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 47, 2026-11-26)
- **CWE:** CWE-312
- **Aliases:** GHSA-gg57-587f-h5v6
- **Published:** 2023-12-18T13:43:08.728Z
- **Modified:** 2026-09-10T03:50:05.224Z

## Who should check

- Projects that depend on Maven package org.infinispan:infinispan-core (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-commons (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-hotrod (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-client-hotrod (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-cachestore-jdbc-common (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-cachestore-remote (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-cachestore-sql (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)
- Projects that depend on Maven package org.infinispan:infinispan-cachestore-jdbc (\>= 15.0.0.Dev01, \< 15.0.0.Dev07)

## Description

A flaw was found in Infinispan. When serializing the configuration for a cache to XML/JSON/YAML, which contains credentials (JDBC store with connection pooling, remote store), the credentials are returned in clear text as part of the configuration.

## Affected and fixed versions

- Maven `org.infinispan:infinispan-core`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-commons`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-hotrod`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-client-hotrod`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-cachestore-jdbc-common`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-cachestore-remote`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-cachestore-sql`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Maven `org.infinispan:infinispan-cachestore-jdbc`: affected \>= 15.0.0.Dev01, \< 15.0.0.Dev07; fixed 15.0.0.Dev07, 14.0.25.Final (osv)
- Red Hat Data Grid 8.4.6: see vendor advisory (cvelist)

## Mitigation

- Upgrade org.infinispan:infinispan-core to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-commons to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-hotrod to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-client-hotrod to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-cachestore-jdbc-common to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-cachestore-remote to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-cachestore-sql to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Upgrade org.infinispan:infinispan-cachestore-jdbc to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line).
- Vendor workaround: The issue's impact is limited because only users with administrator permissions can retrieve the cache configurations, and the recommended approach for connecting via JDBC is using the \`datasource\` configuration, which does not expose the database credentials.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-5384. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-5384.md
Affected: org.infinispan:infinispan-core >= 15.0.0.Dev01, < 15.0.0.Dev07; org.infinispan:infinispan-commons >= 15.0.0.Dev01, < 15.0.0.Dev07; org.infinispan:infinispan-hotrod >= 15.0.0.Dev01, < 15.0.0.Dev07; org.infinispan:infinispan-client-hotrod >= 15.0.0.Dev01, < 15.0.0.Dev07; org.infinispan:infinispan-cac…
Fixed in: 15.0.0.Dev07, 14.0.25.Final

Steps:
1. Search this machine and project for org.infinispan:infinispan-core (Maven), org.infinispan:infinispan-commons (Maven), org.infinispan:infinispan-hotrod (Maven), org.infinispan:infinispan-client-hotrod (Maven), org.infinispan:infinispan-cachestore-jdbc-common (Maven), org.infinispan:infinispan-cachestore-remote (Maven): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-5384 being exploited?

There is no confirmed exploitation: CVE-2023-5384 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-5384?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-5384?

org.infinispan:infinispan-core \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-commons \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-hotrod \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-client-hotrod \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-cachestore-jdbc-common \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-cachestore-remote \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-cachestore-sql \>= 15.0.0.Dev01, \< 15.0.0.Dev07; org.infinispan:infinispan-cachestore-jdbc \>= 15.0.0.Dev01, \< 15.0.0.Dev07.

### Is there a fix for CVE-2023-5384?

Yes. Fixed in 15.0.0.Dev07, 14.0.25.Final. Upgrade org.infinispan:infinispan-core to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-commons to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-hotrod to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-client-hotrod to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-cachestore-jdbc-common to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-cachestore-remote to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-cachestore-sql to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Upgrade org.infinispan:infinispan-cachestore-jdbc to one of 15.0.0.Dev07, 14.0.25.Final (or later in the same release line). Vendor workaround: The issue's impact is limited because only users with administrator permissions can retrieve the cache configurations, and the recommended approach for connecting via JDBC is using the \`datasource\` configuration, which does not expose the database credentials.

### How do I check if I'm affected by CVE-2023-5384?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2023:7676>
- vendor: <https://access.redhat.com/security/cve/CVE-2023-5384>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-5384>
- patch: <https://github.com/infinispan/infinispan/pull/11555>
- patch: <https://github.com/infinispan/infinispan/pull/11995>
- patch: <https://github.com/infinispan/infinispan/commit/7140fc9b026ec55786c1aa78bb3cd8bf951fad47>
- patch: <https://github.com/infinispan/infinispan/commit/fd3e18ec3b1a4e7fcfd79392f5bf78792a2b8c61>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2242156>
- other: <https://security.netapp.com/advisory/ntap-20240125-0004/>
- other: <https://github.com/infinispan/infinispan>
- other: <https://issues.redhat.com/browse/ISPN-15202>
- other: <https://security.netapp.com/advisory/ntap-20240125-0004>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-5384>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gg57-587f-h5v6> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-5384> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-5384>
