LOW 2.7

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)

ArtifactAffected versionsFixed 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

1affected artifacts
12affected versions
320dependent artifacts (est.)
9,834dependent versions

5% of the dependent artifacts (16) still pull an affected version in their latest release.

DepthDependent 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

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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Weboracle.com
Weboracle.com
Weboracle.com
Websecurity.netapp.com
Weblists.fedoraproject.org
Weblists.fedoraproject.org
Weblists.fedoraproject.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org