CVE-2021-28163
Directory exposure in jetty
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty » jetty-deploy | >= 9.4.32, < 9.4.39>= 10.0.0, < 10.0.2>= 11.0.0, < 11.0.2 | 9.4.39, 10.0.2, 11.0.2 |
Blast radius
5% of the dependent artifacts (16) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 263 |
| 2 hops | 560 |
| 3 hops | 1,827 |
| 4 hops | 1,338 |
| 5 hops | 1,703 |
| 6 hops | 4,143 |
Most used dependents
- org.apache.solr » solr-core500 usages
- org.eclipse.jetty.aggregate » jetty-all208 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- org.apache.nifi » nifi-standard-services-api-nar189 usages
- org.apache.solr » solr-test-framework181 usages
- org.apache.activemq » activemq-osgi43 usages
- org.apache.solr » solr-cell32 usages
- org.xwiki.platform » xwiki-platform-search-solr-api31 usages
- org.apache.solr » solr-analysis-extras31 usages
- org.apache.activemq » activemq-karaf29 usages
- org.apache.activemq » activemq-http25 usages
- org.apache.solr » solr-dataimporthandler23 usages
- org.xwiki.platform » xwiki-platform-search-solr-query19 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments16 usages
- com.atlassian.bamboo » atlassian-bamboo-web-app15 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
