nexmo-community / client-sdk-tutorials

MIT License
5 stars 10 forks source link

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

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - gson-2.8.6.jar

Gson JSON library

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

Path to dependency file: /app-to-phone-java/app-to-phone/app/build.gradle

Path to vulnerable library: /modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (gson version) Remediation Possible**
WS-2021-0419 High 7.7 gson-2.8.6.jar Direct 2.8.9
CVE-2022-25647 High 7.7 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: /app-to-phone-java/app-to-phone/app/build.gradle

Path to vulnerable library: /modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom

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

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

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

:rescue_worker_helmet: 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: /app-to-phone-java/app-to-phone/app/build.gradle

Path to vulnerable library: /modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom,/modules-2/files-2.1/com.google.code.gson/gson/2.8.6/b9d7e274612598f1e8835d8bbe30baa5b970ca32/gson-2.8.6.pom

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

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.