Tim-Demo / Gradle-multimodule

GNU Lesser General Public License v2.1
0 stars 0 forks source link

CVE-2018-8039 (High) detected in cxf-rt-transports-http-2.7.18.SP5-redhat-1.jar #10

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

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

CVE-2018-8039 - High Severity Vulnerability

Vulnerable Library - cxf-rt-transports-http-2.7.18.SP5-redhat-1.jar

Apache CXF Runtime HTTP Transport

Library home page: http://www.apache.org/

Path to dependency file: /protex-sdk-examples/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.cxf/cxf-rt-transports-http/2.7.18.SP5-redhat-1/ef87baffb7733629e4a21e311ec142311b095e99/cxf-rt-transports-http-2.7.18.SP5-redhat-1.jar,/es/modules-2/files-2.1/org.apache.cxf/cxf-rt-transports-http/2.7.18.SP5-redhat-1/ef87baffb7733629e4a21e311ec142311b095e99/cxf-rt-transports-http-2.7.18.SP5-redhat-1.jar

Dependency Hierarchy: - :x: **cxf-rt-transports-http-2.7.18.SP5-redhat-1.jar** (Vulnerable Library)

Found in HEAD commit: 2ba6d5eeaa521aaeb7b89b9a95f865606d367f8c

Found in base branch: master

Vulnerability Details

It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.

Publish Date: 2018-07-02

URL: CVE-2018-8039

CVSS 3 Score Details (8.1)

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: 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-2018-8039

Release Date: 2018-07-02

Fix Resolution: 3.1.17


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

mend-for-github-com[bot] commented 6 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 6 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.