Vulnerabilities in pkg:maven/io.vertx/vertx-grpc-client

PACKAGE
Advisory Identifier: GHSA-g76f-gjfx-4rpr
Advisory Summary

CVE-2024-8391 is a MODERATE (CVSS 5.8) vertx grpc server does not vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Vertx grpc server libraries in the Maven ecosystem. The issue involves vertx grpc server does not limit the maximum message size. Remediation is available by upgrading affected packages to version 4.5.10.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.vertx/vertx-grpc-client

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.vertx/vertx-grpc-client. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g76f-gjfx-4rpr CVE-2024-8391 MODERATE Vertx gRPC server does not limit the maximum message size

CVE-2024-8391 at a Glance

CVE Identifier CVE-2024-8391
GHSA Identifier GHSA-g76f-gjfx-4rpr
Severity MODERATE
CVSS v3.1 Base Score 5.8
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Vertx grpc server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L).

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

How to Fix CVE-2024-8391

To remediate this vulnerability, upgrade all affected Vertx grpc server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.vertx:vertx-grpc-server fixed: 4.5.10
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-grpc-server</artifactId>
    <version>4.5.10</version>
</dependency>
io.vertx:vertx-grpc-client fixed: 4.5.10
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-grpc-client</artifactId>
    <version>4.5.10</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=io.vertx

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-8391, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.vertx

Analyze the terminal output to locate any version of Vertx grpc server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.10), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.vertx 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Vertx grpc server, 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

In Eclipse Vert.x version 4.3.0 to 4.5.9, the gRPC server does not limit the maximum length of message payload (Maven GAV: io.vertx:vertx-grpc-server and io.vertx:vertx-grpc-client).  This is fixed in the 4.5.10 version.  Note this does not affect the Vert.x gRPC server based grpc-java and Netty libraries (Maven GAV: io.vertx:vertx-grpc)

CVE-2024-8391 Affected Vertx grpc server Versions

2 component(s)
Fixed Versions:
4.5.10
Product / Package Ecosystem Affected Versions Fixed Version
io.vertx:vertx-grpc-server
Maven
≥ 4.3.0
< 4.5.10
4.5.10
io.vertx:vertx-grpc-client
Maven
≥ 4.3.0
< 4.5.10
4.5.10

References

Frequently Asked Questions

What is CVE-2024-8391?
CVE-2024-8391 is a security vulnerability in Vertx grpc server involving Vertx gRPC server does not limit the maximum message size under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Vertx grpc server versions are affected?
Affected versions include releases prior to 4.5.10 across affected packages: io.vertx:vertx-grpc-server, io.vertx:vertx-grpc-client.
What version fixes CVE-2024-8391?
Upgrading to 4.5.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vertx-grpc-server affected?
Yes, io.vertx:vertx-grpc-server is affected in releases prior to 4.5.10. Upgrade your dependency to 4.5.10 or later.
Is vertx-grpc-client affected?
Yes, io.vertx:vertx-grpc-client is affected in releases prior to 4.5.10. Upgrade your dependency to 4.5.10 or later.
What is the CVSS score of CVE-2024-8391?
CVE-2024-8391 has a CVSS v3.1 base score of 5.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L.
What CWE is associated with CVE-2024-8391?
CVE-2024-8391 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Maven dependencies for CVE-2024-8391?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.vertx'. 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-g76f-gjfx-4rpr",
  "modified" : "2024-09-04T20:32:19Z",
  "published" : "2024-09-04T18:30:58Z",
  "aliases" : [ "CVE-2024-8391" ],
  "summary" : "Vertx gRPC server does not limit the maximum message size",
  "details" : "In Eclipse Vert.x version 4.3.0 to 4.5.9, the gRPC server does not limit the maximum length of message payload (Maven GAV: io.vertx:vertx-grpc-server and io.vertx:vertx-grpc-client). \n\nThis is fixed in the 4.5.10 version. \n\nNote this does not affect the Vert.x gRPC server based grpc-java and Netty libraries (Maven GAV: io.vertx:vertx-grpc)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.vertx:vertx-grpc-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.5.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.vertx:vertx-grpc-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.5.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8391"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-vertx/vertx-grpc/issues/113"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-vertx/vertx-grpc/commit/a76b14a92410c89fcc590c5852d800b565916ccf"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-vertx/vertx-grpc"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignement/-/issues/31"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-04T20:32:19Z",
    "nvd_published_at" : "2024-09-04T16:15:09Z"
  }
}