GitHub Advisoryadvisory · Maven

GHSA-j6qj-j888-vvgq Directory exposure in jetty

LOW Published 2021-04-06 Modified 2022-04-22 Official page ↗
Aliases
CVE-2021-28163
Ecosystem
Maven
Packages
org.eclipse.jetty:jetty-deploy
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200, CWE-59
Reviewed
2021-04-02

Affected packages

• Maven org.eclipse.jetty:jetty-deploy: >= 9.4.32, < 9.4.39 → fixed in 9.4.39 • Maven org.eclipse.jetty:jetty-deploy: >= 10.0.0, < 10.0.2 → fixed in 10.0.2 • Maven org.eclipse.jetty:jetty-deploy: >= 11.0.0, < 11.0.2 → fixed in 11.0.2

Description

Impact If the `${jetty.base}` directory or the `${jetty.base}/webapps` directory is a symlink (soft link in Linux), the contents of the `${jetty.base}/webapps` directory may be deployed as a static web application, exposing the content of the directory for download. For example, the problem manifests in the following `${jetty.base}`: ```$ tree demo-base/ demo-base/ ├── etc ├── lib ├── resources ├── start.d ├── deploy │   └── async-rest.war └── webapps -> deploy ``` Workarounds Do not use a symlink

Related

Alias · CVE (1)

  • CVE-2021-28163 In Eclipse Jetty 9.4.32 to 9.4.38, 10.0.0.beta2 to 10.0.1, and 11.0.0.beta2 to 11.0.1, if a user uses a webapps directory that is a… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

References