Skip to content

gson-2.8.6.jar: 2 vulnerabilities (highest severity is: 7.7) #8

Open
@mend-for-g.yxqyang.asia

Description

@mend-for-g.yxqyang.asia
Vulnerable Library - gson-2.8.6.jar

Gson JSON library

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

Path to dependency file: /deps/protobuf/WORKSPACE

Path to vulnerable library: /tmp/containerbase/cache/.cache/bazel/_bazel_wss-scanner/ebc8e30f98478ddf10f1ba1115df3964/external/unpinned_maven/v1/https/repo1.maven.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar

Found in HEAD commit: cb187ac68bbd85399a27da116bd477a755448e9e

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (gson version) Remediation Possible** Reachability
WS-2021-0419 High 7.7 Not Defined gson-2.8.6.jar Direct 2.8.9
CVE-2022-25647 High 7.7 Not Defined 2.1% gson-2.8.6.jar Direct 2.8.9

**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.6.jar

Gson JSON library

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

Path to dependency file: /deps/protobuf/WORKSPACE

Path to vulnerable library: /tmp/containerbase/cache/.cache/bazel/_bazel_wss-scanner/ebc8e30f98478ddf10f1ba1115df3964/external/unpinned_maven/v1/https/repo1.maven.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar

Dependency Hierarchy:

  • gson-2.8.6.jar (Vulnerable Library)

Found in HEAD commit: cb187ac68bbd85399a27da116bd477a755448e9e

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-25647

Vulnerable Library - gson-2.8.6.jar

Gson JSON library

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

Path to dependency file: /deps/protobuf/WORKSPACE

Path to vulnerable library: /tmp/containerbase/cache/.cache/bazel/_bazel_wss-scanner/ebc8e30f98478ddf10f1ba1115df3964/external/unpinned_maven/v1/https/repo1.maven.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar

Dependency Hierarchy:

  • gson-2.8.6.jar (Vulnerable Library)

Found in HEAD commit: cb187ac68bbd85399a27da116bd477a755448e9e

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 2.1%

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

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25647`

Release Date: 2022-05-01

Fix Resolution: 2.8.9

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions