Description
WS-2021-0419 - High Severity Vulnerability
Vulnerable Libraries - gson-2.7.jar, gson-2.8.5.jar, gson-2.1.jar, gson-2.5.jar
gson-2.7.jar
Gson JSON library
Library home page: https://github.com/google/gson
Path to dependency file: /grpc/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.7/751f548c85fa49f330cecbb1875893f971b33c4e/gson-2.7.jar
Dependency Hierarchy:
- grpc-services-1.14.0.jar (Root Library)
- protobuf-java-util-3.5.1.jar
- ❌ gson-2.7.jar (Vulnerable Library)
- protobuf-java-util-3.5.1.jar
gson-2.8.5.jar
Gson JSON library
Library home page: https://github.com/google/gson
Path to dependency file: /test-harness/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/f645ed69d595b24d4cf8b3fbb64cc505bede8829/gson-2.8.5.jar
Dependency Hierarchy:
- conductor-redis-persistence-1.0 (Root Library)
- dyno-queues-redis-2.0.13.jar
- dyno-jedis-1.7.2-rc2.jar
- dyno-contrib-1.7.2-rc2.jar
- eureka-client-1.8.6.jar
- netflix-eventbus-0.3.0.jar
- netflix-infix-0.3.0.jar
- ❌ gson-2.8.5.jar (Vulnerable Library)
- netflix-infix-0.3.0.jar
- netflix-eventbus-0.3.0.jar
- eureka-client-1.8.6.jar
- dyno-contrib-1.7.2-rc2.jar
- dyno-jedis-1.7.2-rc2.jar
- dyno-queues-redis-2.0.13.jar
gson-2.1.jar
Google Gson library
Library home page: http://code.google.com/p/google-gson/
Path to dependency file: /client/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.1/2e66da15851f9f5b5079228f856c2f090ba98c38/gson-2.1.jar
Dependency Hierarchy:
- eureka-client-1.8.7.jar (Root Library)
- netflix-eventbus-0.3.0.jar
- netflix-infix-0.3.0.jar
- ❌ gson-2.1.jar (Vulnerable Library)
- netflix-infix-0.3.0.jar
- netflix-eventbus-0.3.0.jar
gson-2.5.jar
Google Gson library
Library home page: https://github.com/google/gson
Path to dependency file: /client/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.5/686c608d1805b6d4d425ec4459e88164ffc85870/gson-2.5.jar
Dependency Hierarchy:
- pmd-java-5.6.1.jar (Root Library)
- pmd-core-5.6.1.jar
- ❌ gson-2.5.jar (Vulnerable Library)
- pmd-core-5.6.1.jar
Found in HEAD commit: e5f3a784765077c7776dd541a3c94011c256b35b
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
Suggested Fix
Type: Upgrade version
Release Date: 2021-10-11
Fix Resolution (com.google.code.gson:gson): 2.8.9
Direct dependency fix Resolution (io.grpc:grpc-services): 1.48.0
Fix Resolution (com.google.code.gson:gson): 2.8.9
Direct dependency fix Resolution (net.sourceforge.pmd:pmd-java): 5.8.0
⛑️ Automatic Remediation is available for this issue