Skip to content

converter-gson-2.9.0.jar: 2 vulnerabilities (highest severity is: 7.7) #2

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - converter-gson-2.9.0.jar

Found in HEAD commit: 183fe6b46422f5139df52354195a4763af491449

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (converter-gson version) Remediation Possible**
WS-2021-0419 High 7.7 gson-2.8.5.jar Transitive 2.10.0
CVE-2022-25647 High 7.7 gson-2.8.5.jar Transitive 2.10.0

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

Gson JSON library

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

Dependency Hierarchy:

  • converter-gson-2.9.0.jar (Root Library)
    • gson-2.8.5.jar (Vulnerable Library)

Found in HEAD commit: 183fe6b46422f5139df52354195a4763af491449

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 (com.squareup.retrofit2:converter-gson): 2.10.0

CVE-2022-25647

Vulnerable Library - gson-2.8.5.jar

Gson JSON library

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

Dependency Hierarchy:

  • converter-gson-2.9.0.jar (Root Library)
    • gson-2.8.5.jar (Vulnerable Library)

Found in HEAD commit: 183fe6b46422f5139df52354195a4763af491449

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.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 (com.google.code.gson:gson): 2.8.9

Direct dependency fix Resolution (com.squareup.retrofit2:converter-gson): 2.10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions