CVE-2020-25711: Infinispan core Improper Access Control Vulnerability

MODERATE
Advisory Identifier: GHSA-8674-26jc-wh98
CVSS 6.5
CWE-269 CWE-862
Published
Advisory Summary

CVE-2020-25711 is a MODERATE (CVSS 6.5) improper access control vulnerability (CWE-269: Improper Privilege Management) affecting Infinispan core libraries in the Maven ecosystem. The issue involves improper access control in infinispan-server-runtime. Remediation is available by upgrading affected packages to version 11.0.6.Final.

CVE-2020-25711 at a Glance

CVE Identifier CVE-2020-25711
GHSA Identifier GHSA-8674-26jc-wh98
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-269: Improper Privilege Management
Affected Product Infinispan core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

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:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2020-25711

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.

org.infinispan:infinispan-core fixed: 11.0.6.Final
<dependency>
    <groupId>org.infinispan</groupId>
    <artifactId>infinispan-core</artifactId>
    <version>11.0.6.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2020-25711, 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 11.0.6.Final), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. 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

A flaw was found in infinispan 10 REST API, where authorization permissions are not checked while performing some server management operations. When authz is enabled, any user with authentication can perform operations like shutting down the server without the ADMIN role.

CVE-2020-25711 Affected Infinispan core Versions

1 component(s)
Fixed Versions:
11.0.6.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.infinispan:infinispan-core
Maven
< 11.0.6.Final
11.0.6.Final

References

Frequently Asked Questions

What is CVE-2020-25711?
CVE-2020-25711 is a security vulnerability in Infinispan core involving Improper Access Control in infinispan-server-runtime under CWE-269: Improper Privilege Management.
Which Infinispan core versions are affected?
Affected versions include releases prior to 11.0.6.Final across affected packages: org.infinispan:infinispan-core.
What version fixes CVE-2020-25711?
Upgrading to 11.0.6.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is infinispan-core affected?
Yes, org.infinispan:infinispan-core is affected in releases prior to 11.0.6.Final. Upgrade your dependency to 11.0.6.Final or later.
What is the CVSS score of CVE-2020-25711?
CVE-2020-25711 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2020-25711?
CVE-2020-25711 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Maven dependencies for CVE-2020-25711?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.infinispan'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8674-26jc-wh98",
  "modified" : "2022-02-09T22:56:32Z",
  "published" : "2022-02-09T22:56:32Z",
  "aliases" : [ "CVE-2020-25711" ],
  "summary" : "Improper Access Control in infinispan-server-runtime",
  "details" : "A flaw was found in infinispan 10 REST API, where authorization permissions are not checked while performing some server management operations. When authz is enabled, any user with authentication can perform operations like shutting down the server without the ADMIN role.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.infinispan:infinispan-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.0.6.Final"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.0.5.Final"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-25711"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1897618"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20220210-0023"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-09T22:40:14Z",
    "nvd_published_at" : "2020-12-03T17:15:00Z"
  }
}