CVE-2023-3628: Infinispan server rest Infinispan REST Server's Bulk Read Vulnerability

HIGH
Advisory Identifier: GHSA-fhr7-8jx4-r9cp
CVSS 6.5
CWE-304
Published
Advisory Summary

CVE-2023-3628 is a HIGH (CVSS 6.5) infinispan rest server's bulk read vulnerability (CWE-304: Missing Critical Step in Authentication) affecting Infinispan server rest libraries in the Maven ecosystem. The issue involves infinispan rest server's bulk read endpoints do not properly evaluate user permissions. Remediation is available by upgrading affected packages to version 15.0.0.Dev04, 14.0.18.Final.

CVE-2023-3628 at a Glance

CVE Identifier CVE-2023-3628
GHSA Identifier GHSA-fhr7-8jx4-r9cp
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-304: Missing Critical Step in Authentication
Affected Product Infinispan server rest
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:L/UI:N/S:U/C:H/I:N/A:N).

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

How to Fix CVE-2023-3628

To remediate this vulnerability, upgrade all affected Infinispan server rest 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-server-rest fixed: 15.0.0.Dev04
<dependency>
    <groupId>org.infinispan</groupId>
    <artifactId>infinispan-server-rest</artifactId>
    <version>15.0.0.Dev04</version>
</dependency>
org.infinispan:infinispan-server-rest fixed: 14.0.18.Final
<dependency>
    <groupId>org.infinispan</groupId>
    <artifactId>infinispan-server-rest</artifactId>
    <version>14.0.18.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-2023-3628, 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 rest 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.Dev04), 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-304: Missing Critical Step in Authentication, where the product implements an authentication technique, but it skips a step that weakens the technique. In Infinispan server rest, 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's REST. Bulk read endpoints do not properly evaluate user permissions for the operation. This issue could allow an authenticated user to access information outside of their intended permissions.

CVE-2023-3628 Affected Infinispan server rest Versions

2 component(s)
Fixed Versions:
15.0.0.Dev0414.0.18.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.infinispan:infinispan-server-rest
Maven
≥ 15.0.0.Dev01
< 15.0.0.Dev04
15.0.0.Dev04
org.infinispan:infinispan-server-rest
Maven
< 14.0.18.Final
14.0.18.Final

References

Frequently Asked Questions

What is CVE-2023-3628?
CVE-2023-3628 is a security vulnerability in Infinispan server rest involving Infinispan REST Server's bulk read endpoints do not properly evaluate user permissions under CWE-304: Missing Critical Step in Authentication.
Which Infinispan server rest versions are affected?
Affected versions include releases prior to 15.0.0.Dev04, 14.0.18.Final across affected packages: org.infinispan:infinispan-server-rest.
What version fixes CVE-2023-3628?
Upgrading to 15.0.0.Dev04, 14.0.18.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is infinispan-server-rest affected?
Yes, org.infinispan:infinispan-server-rest is affected in releases prior to 15.0.0.Dev04, 14.0.18.Final. Upgrade your dependency to 15.0.0.Dev04, 14.0.18.Final or later.
What is the CVSS score of CVE-2023-3628?
CVE-2023-3628 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-3628?
CVE-2023-3628 is classified under CWE-304: Missing Critical Step in Authentication (The product implements an authentication technique, but it skips a step that weakens the technique.).
How can I check Maven dependencies for CVE-2023-3628?
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-fhr7-8jx4-r9cp",
  "modified" : "2024-11-18T16:26:34Z",
  "published" : "2023-12-30T00:30:23Z",
  "aliases" : [ "CVE-2023-3628" ],
  "summary" : "Infinispan REST Server's bulk read endpoints do not properly evaluate user permissions",
  "details" : "A flaw was found in Infinispan's REST. Bulk read endpoints do not properly evaluate user permissions for the operation. This issue could allow an authenticated user to access information outside of their intended permissions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.infinispan:infinispan-server-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0.Dev01"
      }, {
        "fixed" : "15.0.0.Dev04"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.infinispan:infinispan-server-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.0.18.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3628"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/infinispan/infinispan/commit/70a50352d9195753a588d0fba8c2063b99f96263"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/infinispan/infinispan/commit/b34488dcab8bdd4258972568b8405ee7111276ec"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2023:5396"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-3628"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2217924"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/infinispan/infinispan"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240125-0004"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-304" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-16T17:19:18Z",
    "nvd_published_at" : "2023-12-18T14:15:08Z"
  }
}