billmcchesney1 / foxtrot

A store abstraction and analytics system for real-time event data.
Apache License 2.0
0 stars 0 forks source link

CVE-2020-27216 (High) detected in jetty-webapp-9.4.11.v20180605.jar, jetty-webapp-9.4.18.v20190429.jar #187

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

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

CVE-2020-27216 - High Severity Vulnerability

Vulnerable Libraries - jetty-webapp-9.4.11.v20180605.jar, jetty-webapp-9.4.18.v20190429.jar

jetty-webapp-9.4.11.v20180605.jar

Jetty web application support

Library home page: https://webtide.com

Path to dependency file: /foxtrot-common/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.11.v20180605/jetty-webapp-9.4.11.v20180605.jar

Dependency Hierarchy: - dropwizard-swagger-1.3.7-1.jar (Root Library) - dropwizard-core-1.3.7.jar - dropwizard-jersey-1.3.7.jar - :x: **jetty-webapp-9.4.11.v20180605.jar** (Vulnerable Library)

jetty-webapp-9.4.18.v20190429.jar

Jetty web application support

Library home page: https://webtide.com

Path to dependency file: /foxtrot-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.18.v20190429/jetty-webapp-9.4.18.v20190429.jar,/home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.18.v20190429/jetty-webapp-9.4.18.v20190429.jar,/home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.18.v20190429/jetty-webapp-9.4.18.v20190429.jar,/home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.18.v20190429/jetty-webapp-9.4.18.v20190429.jar

Dependency Hierarchy: - foxtrot-common-6.3.1-7.jar (Root Library) - dropwizard-swagger-1.3.7-1.jar - dropwizard-core-1.3.13.jar - dropwizard-jersey-1.3.13.jar - :x: **jetty-webapp-9.4.18.v20190429.jar** (Vulnerable Library)

Found in HEAD commit: ffb8a6014463ce8aac1bf6e7dc9a23fc4a2a8adc

Found in base branch: master

Vulnerability Details

In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.

Publish Date: 2020-10-23

URL: CVE-2020-27216

CVSS 3 Score Details (7.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - 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://bugs.eclipse.org/bugs/show_bug.cgi?id=567921

Release Date: 2020-10-23

Fix Resolution (org.eclipse.jetty:jetty-webapp): 9.4.33.v20201020

Direct dependency fix Resolution (com.smoketurner:dropwizard-swagger): 2.0.12-1


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

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