github_osv/GHSA-j6qj-j888-vvgq
Directory exposure in jetty
### 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
gitlab/maven/org.apache.ignite/ignite-core/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.apache.solr/solr-core/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-client/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty to beta2 to beta2 to, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-deploy/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty to beta2 to beta2 to, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-http/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-server/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-util/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
gitlab/maven/org.eclipse.jetty/jetty-webapp/CVE-2021-28163
Improper Link Resolution Before File Access
In Eclipse Jetty, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.