Skip to content

CVE-2020-27216 (High) detected in multiple libraries - autoclosed #379

@mend-for-github-com

Description

@mend-for-github-com

CVE-2020-27216 - High Severity Vulnerability

Vulnerable Libraries - jetty-webapp-8.1.22.v20160922.jar, jetty-webapp-9.2.9.v20150224.jar, jetty-webapp-9.3.2.v20150730.jar, jetty-webapp-9.4.31.v20200723.jar, jetty-webapp-9.3.6.v20151106.jar

jetty-webapp-8.1.22.v20160922.jar

Jetty web application support

Library home page: http://www.eclipse.org/jetty

Path to dependency file: /dd-java-agent/appsec/weblog/weblog-spring-app/weblog-spring-app.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/8.1.22.v20160922/fa48e3eaccddd3a2ff730890d56644a81e9c46e3/jetty-webapp-8.1.22.v20160922.jar

Dependency Hierarchy:

  • spring-boot-starter-jetty-1.5.9.RELEASE.jar (Root Library)
    • jetty-webapp-8.1.22.v20160922.jar (Vulnerable Library)
jetty-webapp-9.2.9.v20150224.jar

Jetty web application support

Library home page: http://www.eclipse.org/jetty

Path to dependency file: /dd-java-agent/instrumentation/dropwizard/dropwizard.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.2.9.v20150224/d9d09e9e6cbc61cb0922b7f464fce8c752fefabf/jetty-webapp-9.2.9.v20150224.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.2.9.v20150224/d9d09e9e6cbc61cb0922b7f464fce8c752fefabf/jetty-webapp-9.2.9.v20150224.jar

Dependency Hierarchy:

  • dropwizard-testing-0.8.0.jar (Root Library)
    • dropwizard-core-0.8.0.jar
      • dropwizard-jersey-0.8.0.jar
        • jetty-webapp-9.2.9.v20150224.jar (Vulnerable Library)
jetty-webapp-9.3.2.v20150730.jar

Jetty web application support

Library home page: http://www.eclipse.org/jetty

Path to dependency file: /dd-java-agent/instrumentation/sparkjava-2.3/sparkjava-2.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.3.2.v20150730/b4bcbd3c978b587c6e4ca13d2ac90bd25ed2c3a2/jetty-webapp-9.3.2.v20150730.jar

Dependency Hierarchy:

  • spark-core-2.3.jar (Root Library)
    • jetty-webapp-9.3.2.v20150730.jar (Vulnerable Library)
jetty-webapp-9.4.31.v20200723.jar

Jetty web application support

Library home page: http://www.eclipse.org/jetty

Path to dependency file: /dd-java-agent/instrumentation/sparkjava-2.3/sparkjava-2.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.4.31.v20200723/9e6716366f586307f253d1082cbae88f33c239cd/jetty-webapp-9.4.31.v20200723.jar

Dependency Hierarchy:

  • spark-core-2.9.3.jar (Root Library)
    • jetty-webapp-9.4.31.v20200723.jar (Vulnerable Library)
jetty-webapp-9.3.6.v20151106.jar

Jetty web application support

Library home page: http://www.eclipse.org/jetty

Path to dependency file: /dd-java-agent/instrumentation/sparkjava-2.3/sparkjava-2.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.3.6.v20151106/9cf00a3b7b2c1b6e024bb687e3719e1b0ff9e899/jetty-webapp-9.3.6.v20151106.jar

Dependency Hierarchy:

  • spark-core-2.4.jar (Root Library)
    • jetty-webapp-9.3.6.v20151106.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

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 (org.springframework.boot:spring-boot-starter-jetty): 2.1.18.RELEASE

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

Direct dependency fix Resolution (io.dropwizard:dropwizard-testing): 1.3.27

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

Direct dependency fix Resolution (com.sparkjava:spark-core): 2.9.4

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

Direct dependency fix Resolution (com.sparkjava:spark-core): 2.9.4

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

Direct dependency fix Resolution (com.sparkjava:spark-core): 2.9.4


⛑️ Automatic Remediation is available for this issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions