Vulnerabilities in pkg:maven/org.infinispan/infinispan-hotrod
PACKAGECVE-2023-5384 is a MODERATE (CVSS 2.7) infinispan caches credentials vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Infinispan core libraries in the Maven ecosystem. The issue involves infinispan caches credentials in clear text. Remediation is available by upgrading affected packages to version 15.0.0.Dev07, 14.0.25.Final.
pkg:maven/org.infinispan/infinispan-hotrod
Vulnerability advisories affecting package pkg:maven/org.infinispan/infinispan-hotrod. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gg57-587f-h5v6 | CVE-2023-5384 | MODERATE | Infinispan caches credentials in clear text |
CVE-2023-5384 at a Glance
Security Impact
CVSS: 2.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2023-5384
To remediate this vulnerability, upgrade all affected Infinispan core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-core</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-core</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-commons</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-commons</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-hotrod</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-hotrod</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-client-hotrod</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-client-hotrod</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-jdbc-common</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-jdbc-common</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-remote</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-remote</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-sql</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-sql</artifactId>
<version>14.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-jdbc</artifactId>
<version>15.0.0.Dev07</version>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cachestore-jdbc</artifactId>
<version>14.0.25.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.infinispan
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-5384, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.infinispan
Analyze the terminal output to locate any version of Infinispan core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.0.0.Dev07), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.infinispan command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Infinispan core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-5384 Affected Infinispan core Versions
16 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.infinispan:infinispan-core
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-core
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-commons
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-commons
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-hotrod
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-hotrod
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-client-hotrod
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-client-hotrod
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-cachestore-jdbc-common
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-cachestore-jdbc-common
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-cachestore-remote
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-cachestore-remote
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-cachestore-sql
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-cachestore-sql
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
|
org.infinispan:infinispan-cachestore-jdbc
|
Maven |
≥ 15.0.0.Dev01
< 15.0.0.Dev07
|
15.0.0.Dev07
|
|
org.infinispan:infinispan-cachestore-jdbc
|
Maven |
< 14.0.25.Final
|
14.0.25.Final
|
References
Frequently Asked Questions
What is CVE-2023-5384?
Which Infinispan core versions are affected?
What version fixes CVE-2023-5384?
Is infinispan-core affected?
Is infinispan-commons affected?
What is the CVSS score of CVE-2023-5384?
What CWE is associated with CVE-2023-5384?
How can I check Maven dependencies for CVE-2023-5384?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gg57-587f-h5v6",
"modified" : "2024-11-18T16:26:33Z",
"published" : "2023-12-28T18:30:32Z",
"aliases" : [ "CVE-2023-5384" ],
"summary" : "Infinispan caches credentials in clear text",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-hotrod"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-hotrod"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-client-hotrod"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-client-hotrod"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-jdbc-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-jdbc-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-remote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-remote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-sql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-sql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-jdbc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0.Dev01"
}, {
"fixed" : "15.0.0.Dev07"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-cachestore-jdbc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.0.25.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5384"
}, {
"type" : "WEB",
"url" : "https://github.com/infinispan/infinispan/pull/11555"
}, {
"type" : "WEB",
"url" : "https://github.com/infinispan/infinispan/pull/11995"
}, {
"type" : "WEB",
"url" : "https://github.com/infinispan/infinispan/commit/7140fc9b026ec55786c1aa78bb3cd8bf951fad47"
}, {
"type" : "WEB",
"url" : "https://github.com/infinispan/infinispan/commit/fd3e18ec3b1a4e7fcfd79392f5bf78792a2b8c61"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7676"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2023-5384"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2242156"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/infinispan/infinispan"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/ISPN-15202"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20240125-0004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-16T22:00:09Z",
"nvd_published_at" : "2023-12-18T14:15:11Z"
}
}