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

gradle-4.6.9.jar: 2 vulnerabilities (highest severity is: 7.7) #4

Open
staging-whitesource-for-github-com bot opened this issue Apr 18, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@staging-whitesource-for-github-com
Copy link
Contributor

Vulnerable Library - gradle-4.6.9.jar

Path to dependency file: /pom.xml

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

Found in HEAD commit: 9c0b3789ce35094a33d482ef128345d62de6126d

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (gradle version) Remediation Possible**
WS-2021-0419 High 7.7 gson-2.8.1.jar Transitive N/A*
CVE-2022-25647 High 7.5 gson-2.8.1.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

WS-2021-0419

Vulnerable Library - gson-2.8.1.jar

Gson JSON library

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy:

  • gradle-4.6.9.jar (Root Library)
    • provider-4.6.9.jar
      • matchers-4.6.9.jar
        • core-0.4.2.jar
          • grpc-netty-1.56.1.jar
            • grpc-core-1.56.1.jar
              • gson-2.8.1.jar (Vulnerable Library)

Found in HEAD commit: 9c0b3789ce35094a33d482ef128345d62de6126d

Found in base branch: main

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

CVE-2022-25647

Vulnerable Library - gson-2.8.1.jar

Gson JSON library

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy:

  • gradle-4.6.9.jar (Root Library)
    • provider-4.6.9.jar
      • matchers-4.6.9.jar
        • core-0.4.2.jar
          • grpc-netty-1.56.1.jar
            • grpc-core-1.56.1.jar
              • gson-2.8.1.jar (Vulnerable Library)

Found in HEAD commit: 9c0b3789ce35094a33d482ef128345d62de6126d

Found in base branch: main

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:gson-parent-2.8.9

@staging-whitesource-for-github-com staging-whitesource-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 18, 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