GHSA-j6qj-j888-vvgqLowCVSS 2.7

Directory exposure in jetty

Published
April 6, 2021
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 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}:

demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│   └── async-rest.war
└── webapps -> deploy

Workarounds

Do not use a symlink

🎯 Affected products3

  • maven/org.eclipse.jetty:jetty-deploy:>= 9.4.32, < 9.4.39
  • maven/org.eclipse.jetty:jetty-deploy:>= 10.0.0, < 10.0.2
  • maven/org.eclipse.jetty:jetty-deploy:>= 11.0.0, < 11.0.2

🔗 References (28)