opensearch-build icon indicating copy to clipboard operation
opensearch-build copied to clipboard

CVE-2024-7254 (High) detected in protobuf-java-3.21.7.jar

Open mend-for-github-com[bot] opened this issue 1 year ago • 0 comments

CVE-2024-7254 - High Severity Vulnerability

Vulnerable Library - protobuf-java-3.21.7.jar

Core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

Library home page: https://developers.google.com/protocol-buffers/

Path to dependency file: /build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/3.21.7/96cfc7147192f1de72c3d7d06972155ffb7d180c/protobuf-java-3.21.7.jar

Dependency Hierarchy:

  • :x: protobuf-java-3.21.7.jar (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Any project that parses untrusted Protocol Buffers dataĀ containing an arbitrary number of nested groups / series of SGROUPĀ tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.

Publish Date: 2024-09-19

URL: CVE-2024-7254

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-7254

Release Date: 2024-09-19

Fix Resolution: 3.25.5


  • [ ] Check this box to open an automated fix PR