CVE-2023-5384 is a low-severity (CVSS 2.7) CWE-312 vulnerability in org.infinispan:infinispan-core. A fix is available for org.infinispan:infinispan-core — see the affected versions and patch details below.
Infinispan caches credentials in clear text
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-5384.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.infinispan:infinispan-core☕org.infinispan:infinispan-core☕org.infinispan:infinispan-commons☕org.infinispan:infinispan-commons☕org.infinispan:infinispan-hotrod☕org.infinispan:infinispan-hotrod☕org.infinispan:infinispan-client-hotrod☕org.infinispan:infinispan-client-hotrod+8 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.infinispan:infinispan-core | ≥ 15.0.0.Dev01&&< 15.0.0.Dev07 | 15.0.0.Dev07org.infinispan:infinispan-core:15.0.0.Dev07 |
| ☕Maven | org.infinispan:infinispan-core | all versions | 14.0.25.Finalorg.infinispan:infinispan-core:14.0.25.Final |
| ☕Maven | org.infinispan:infinispan-commons | ≥ 15.0.0.Dev01&&< 15.0.0.Dev07 | 15.0.0.Dev07org.infinispan:infinispan-commons:15.0.0.Dev07 |
| ☕Maven | org.infinispan:infinispan-commons | all versions | 14.0.25.Finalorg.infinispan:infinispan-commons:14.0.25.Final |
| ☕Maven | org.infinispan:infinispan-hotrod | ≥ 15.0.0.Dev01&&< 15.0.0.Dev07 | 15.0.0.Dev07org.infinispan:infinispan-hotrod:15.0.0.Dev07 |
| ☕Maven | org.infinispan:infinispan-hotrod | all versions | 14.0.25.Finalorg.infinispan:infinispan-hotrod:14.0.25.Final |
Affected Products
infinispaninfinispandata gridredhatjboss data gridredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.infinispan:infinispan-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.infinispan:infinispan-core to 15.0.0.Dev07 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-5384 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat evaluated this vulnerability and this only affects Infinispan's server component, so Red Hat JBoss Enterprise Application Platform (EAP) and other tools that may run infinispan is not affected.
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.Source: Red Hat security advisory for CVE-2023-5384 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Data Grid 8.4.6 | infinispan | RHSA-2023:7676 |
Frequently Asked Questions
Is CVE-2023-5384 in your dependencies?
Find it across Maven, including transitive dependencies.