hugh-mend / c-goof

Vulnerable C++ project
Apache License 2.0
0 stars 0 forks source link

gson-1.4.jar: 2 vulnerabilities (highest severity is: 7.7) reachable #6

Open mend-for-github-com[bot] opened 10 months ago

mend-for-github-com[bot] commented 10 months ago
Vulnerable Library - gson-1.4.jar

Google Gson library

Library home page: http://code.google.com/p/google-gson/

Path to dependency file: /vendor/aws-sdk-cpp-1.3.50/code-generation/generator/pom.xml

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

Vulnerabilities

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

Reachable

CVE-2022-25647 High 7.7 Not Defined 0.5% gson-1.4.jar Direct 2.8.9

Unreachable

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

Details

WS-2021-0419 ### Vulnerable Library - gson-1.4.jar

Google Gson library

Library home page: http://code.google.com/p/google-gson/

Path to dependency file: /vendor/aws-sdk-cpp-1.3.50/code-generation/generator/pom.xml

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

Dependency Hierarchy: - :x: **gson-1.4.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.amazonaws.util.awsclientgenerator.generators.MainClientGenerator (Application) -> ❌ com.google.gson.Gson (Vulnerable Component) ```

### 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

In order to enable automatic remediation, please create workflow rules

CVE-2022-25647 ### Vulnerable Library - gson-1.4.jar

Google Gson library

Library home page: http://code.google.com/p/google-gson/

Path to dependency file: /vendor/aws-sdk-cpp-1.3.50/code-generation/generator/pom.xml

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

Dependency Hierarchy: - :x: **gson-1.4.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### 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: 0.5%

### 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

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

mend-for-github-com[bot] commented 5 months ago

:heavy_check_mark: 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-for-github-com[bot] commented 5 months ago

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