Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-7254 (High) detected in protobuf-java-3.21.9.jar, protobuf-java-3.23.3.jar #6302

Open
mend-bolt-for-github bot opened this issue Sep 19, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Sep 19, 2024

CVE-2024-7254 - High Severity Vulnerability

Vulnerable Libraries - protobuf-java-3.21.9.jar, protobuf-java-3.23.3.jar

protobuf-java-3.21.9.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: /hapi-fhir-cli/hapi-fhir-cli-api/pom.xml

Path to vulnerable library: /hapi-fhir-cli/hapi-fhir-cli-api/pom.xml,/hapi-fhir-cli/hapi-fhir-cli-api/pom.xml

Dependency Hierarchy:

  • hapi-fhir-jpaserver-base-7.7.3-SNAPSHOT.jar (Root Library)
    • jena-arq-4.9.0.jar
      • protobuf-java-3.21.9.jar (Vulnerable Library)
protobuf-java-3.23.3.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: /hapi-fhir-jpaserver-uhnfhirtest/pom.xml

Path to vulnerable library: /hapi-fhir-jpaserver-uhnfhirtest/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-autoconfigure/pom.xml,/hapi-fhir-jpaserver-base/pom.xml,/hapi-fhir-jpaserver-test-utilities/pom.xml,/hapi-fhir-docs/pom.xml,/hapi-fhir-base/pom.xml,/hapi-fhir-jpaserver-hfql/pom.xml,/hapi-fhir-jpaserver-ips/pom.xml,/hapi-fhir-server-cds-hooks/pom.xml,/hapi-fhir-jpaserver-elastic-test-utilities/pom.xml,/hapi-fhir-storage-cr/pom.xml

Dependency Hierarchy:

  • hapi-fhir-jpaserver-base-7.7.3-SNAPSHOT.jar (Root Library)
    • jena-arq-4.9.0.jar
      • protobuf-java-3.23.3.jar (Vulnerable Library)

Found in HEAD commit: b59f2d05a7d0fd10c7b03bb6f0ebf97757172a71

Found in base branch: master

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: com.google.protobuf:protobuf-javalite - 3.25.5,4.28.2,4.27.5;com.google.protobuf:protobuf-java - 4.27.5,3.25.5,4.28.2


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 19, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2024-7254 (Medium) detected in protobuf-java-3.21.9.jar, protobuf-java-3.23.3.jar CVE-2024-7254 (High) detected in protobuf-java-3.21.9.jar, protobuf-java-3.23.3.jar Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants