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

WS-2021-0419 (High) detected in gson-2.8.1.jar, gson-2.7.jar #48

Open
mend-bolt-for-github bot opened this issue Feb 27, 2025 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link

WS-2021-0419 - High Severity Vulnerability

Vulnerable Libraries - gson-2.8.1.jar, gson-2.7.jar

gson-2.8.1.jar

Gson JSON library

Library home page: https://github.com/google/gson

Path to dependency file: /jetty-infinispan/infinispan-remote-query/pom.xml

Path to vulnerable library: /jetty-infinispan/infinispan-remote-query/pom.xml,/tests/test-sessions/test-infinispan-sessions/pom.xml

Dependency Hierarchy:

  • infinispan-remote-query-client-9.4.8.Final.jar (Root Library)
    • protostream-4.2.2.Final.jar
      • gson-2.8.1.jar (Vulnerable Library)
gson-2.7.jar

Gson JSON library

Library home page: https://github.com/google/gson

Path to dependency file: /tests/test-sessions/test-gcloud-sessions/pom.xml

Path to vulnerable library: /tests/test-sessions/test-gcloud-sessions/pom.xml,/jetty-gcloud/jetty-gcloud-session-manager/pom.xml

Dependency Hierarchy:

  • google-cloud-datastore-1.0.0.jar (Root Library)
    • google-cloud-core-1.0.0.jar
      • protobuf-java-util-3.2.0.jar
        • gson-2.7.jar (Vulnerable Library)

Found in HEAD commit: f8dcdb434f8449805a9ff352d32b114dfe9bf1dd

Found in base branch: master

Vulnerability Details

Denial of Service vulnerability was discovered in gson before 2.8.9 via the writeReplace() method.

Publish Date: 2021-10-11

URL: WS-2021-0419

CVSS 3 Score Details (7.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2021-10-11

Fix Resolution (com.google.code.gson:gson): 2.8.9

Direct dependency fix Resolution (org.infinispan:infinispan-remote-query-client): 9.4.17.Final

Fix Resolution (com.google.code.gson:gson): 2.8.9

Direct dependency fix Resolution (com.google.cloud:google-cloud-datastore): 2.21.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 Mend label Feb 27, 2025
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants