finos / symphony-bdk-java

The Symphony BDK (Bot Developer Kit) for Java helps you to create production-grade Chat Bots and Extension Applications on top of the Symphony REST APIs.
https://symphony-bdk-java.finos.org
Apache License 2.0
23 stars 69 forks source link

WS-2020-0408 (High) detected in netty-handler-4.1.66.Final.jar #571

Closed mend-for-github-com[bot] closed 3 years ago

mend-for-github-com[bot] commented 3 years ago

WS-2020-0408 - High Severity Vulnerability

Vulnerable Library - netty-handler-4.1.66.Final.jar

Library home page: https://netty.io/

Path to dependency file: symphony-bdk-java/symphony-bdk-http/symphony-bdk-http-webclient/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.66.Final/1e6ec9b58725a96b2bd0f173709b59c79175225c/netty-handler-4.1.66.Final.jar

Dependency Hierarchy: - symphony-bdk-bom-1.0 (Root Library) - spring-boot-dependencies-2.5.3.pom - :x: **netty-handler-4.1.66.Final.jar** (Vulnerable Library)

Found in HEAD commit: 94fb647efc327bfa4f9e22d3916ec6ca1f1d7dc6

Found in base branch: main

Vulnerability Details

An issue was found in all versions of io.netty:netty-all. Host verification in Netty is disabled by default. This can lead to MITM attack in which an attacker can forge valid SSL/TLS certificates for a different hostname in order to intercept traffic that doesn’t intend for him. This is an issue because the certificate is not matched with the host.

Publish Date: 2020-06-22

URL: WS-2020-0408

CVSS 3 Score Details (7.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

symphony-youri commented 3 years ago

Per the linked Netty ticket, there is no fix available for 4.1, and there won't be one. We will wait for Netty 5 (and for this to be fixed) and for the dependency to be updated in Spring Boot.

In the meantime if this is a concern we recommend using the Jersey2 HTTP client module (usually the default one) with the BDK.