Vulnerabilities in pkg:maven/org.infinispan/infinispan-server-core
PACKAGECVE-2017-2638 is a MODERATE (CVSS 6.5) remote code execution vulnerability (CWE-287: Improper Authentication) affecting Infinispan server core libraries in the Maven ecosystem. The issue involves infinispan rest api does not enforce auth constraints. Remediation is available by upgrading affected packages to version 9.0.0.
pkg:maven/org.infinispan/infinispan-server-core
Vulnerability advisories affecting package pkg:maven/org.infinispan/infinispan-server-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mvxp-3j62-jqr6 | CVE-2017-2638 | MODERATE | Infinispan Rest API Does Not Enforce Auth Constraints |
CVE-2017-2638 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2017-2638
To remediate this vulnerability, upgrade all affected Infinispan server 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-server-core</artifactId>
<version>9.0.0</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-2017-2638, 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 server core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.0.0), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Infinispan server 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-2017-2638 Affected Infinispan server core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.infinispan:infinispan-server-core
|
Maven |
< 9.0.0
|
9.0.0
|
References
Frequently Asked Questions
What is CVE-2017-2638?
Which Infinispan server core versions are affected?
What version fixes CVE-2017-2638?
Is infinispan-server-core affected?
What is the CVSS score of CVE-2017-2638?
What CWE is associated with CVE-2017-2638?
How can I check Maven dependencies for CVE-2017-2638?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvxp-3j62-jqr6",
"modified" : "2023-07-31T22:13:08Z",
"published" : "2022-05-13T01:36:52Z",
"aliases" : [ "CVE-2017-2638" ],
"summary" : "Infinispan Rest API Does Not Enforce Auth Constraints",
"details" : "It was found that the REST API in Infinispan before version 9.0.0 did not properly enforce auth constraints. An attacker could use this vulnerability to read or modify data in the default cache or a known cache name.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.infinispan:infinispan-server-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-2638"
}, {
"type" : "WEB",
"url" : "https://github.com/infinispan/infinispan/pull/4936"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2638"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/ISPN-7485"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-1097.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/97964"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-31T22:13:08Z",
"nvd_published_at" : "2018-07-16T13:29:00Z"
}
}