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-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar #155

Open
mend-bolt-for-github bot opened this issue Nov 27, 2023 · 2 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 27, 2023

CVE-2022-25647 - 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: /tests/test-sessions/test-infinispan-sessions/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar

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: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.7/gson-2.7.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.7/gson-2.7.jar

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: 58f30216af0fcc8c8d4ee04369790afc5494c144

Found in base branch: master

Vulnerability Details

The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.

Publish Date: 2022-05-01

URL: CVE-2022-25647

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25647`

Release Date: 2022-05-01

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

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


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 Nov 27, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar CVE-2022-25647 (High) detected in gson-2.8.1.jar, com-google-gson-RELEASE100.jar Feb 29, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-25647 (High) detected in gson-2.8.1.jar, com-google-gson-RELEASE100.jar CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar Mar 17, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar - autoclosed Mar 20, 2024
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar - autoclosed CVE-2022-25647 (High) detected in gson-2.8.1.jar, gson-2.7.jar Mar 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants