CVE-2021-28163
JSON

2.7low

Directory exposure in jetty

Severity
2.7low CVSS:3.1 by eclipse
Exploit likelihood
4.18% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse
Also known as
GHSA-j6qj-j888-vvgqBIT-SOLR-2021-28163

Description

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 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.

Affected

Product or packageVersionsReported by
The Eclipse Foundation Eclipse Jettyfrom 9.4.32 before unspecified, from unspecified up to 9.4.38, from 10.0.0.beta2 before unspecified, from unspecified up to 10.0.1, from 11.0.0.beta2 before unspecified, from unspecified up to 11.0.1CVE List
org.eclipse.jetty:jetty-deploy (Maven)from 9.4.32 before 9.4.39, from 10.0.0 before 10.0.2, from 11.0.0 before 11.0.2GitHub Advisory Database
eclipse jettyfrom 9.4.32 before 9.4.39, 10.0.0, 10.0.1, 11.0.0, 11.0.1NVD
fedoraproject fedora32, 33, 34NVD
apache ignitebefore 2.1.1NVD
apache solr8.8.1NVD
netapp cloud_managerNot specifiedNVD
netapp e-series_performance_analyzerNot specifiedNVD
netapp e-series_santricity_os_controllerfrom 11.0.0 up to 11.70.1NVD
netapp e-series_santricity_web_servicesNot specifiedNVD
netapp element_plug-in_for_vcenter_serverNot specifiedNVD
netapp santricity_cloud_connectorNot specifiedNVD

All scores

eclipse2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
GitHub2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
NVD2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

What each source says

CVE List

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 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.

GitHub Advisory Database
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

NVD (es)

En Eclipse Jetty versiones 9.4.32 hasta 9.4.38, versiones 10.0.0.beta2 hasta 10.0.1 y versiones 11.0.0.beta2 hasta 11.0.1, si un usuario usa un directorio de aplicaciones web que es un enlace simbólico, el contenido del directorio de aplicaciones web se implementa como una aplicación web estática, sin darse cuenta, sirviendo las aplicaciones web en sí y cualquier otra cosa que pueda estar en ese directorio.

References

https://github.com/eclipse/jetty.project/security/advisories/GHSA-j6qj-j888-vvgqadvisory, exploit, third-party-advisory, web
https://lists.apache.org/thread.html/r780c3c210a05c5bf7b4671303f46afc3fe56758e92864e1a5f0590d0%40%3Cjira.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r5b3693da7ecb8a75c0e930b4ca26a5f97aa0207d9dae4aa8cc65fe6b%40%3Cissues.ignite.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/rd7c8fb305a8637480dc943ba08424c8992dccad018cd1405eb2afe0e%40%3Cdev.ignite.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r0841b06b48324cfc81325de3c05a92e53f997185f9d71ff47734d961%40%3Cissues.solr.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r787e47297a614b05b99d01b04c8a1d6c0cafb480c9cb7c624a6b8fc3%40%3Cissues.solr.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r6ac9e263129328c0db9940d72b4a6062e703c58918dd34bd22cdf8dd%40%3Cissues.ignite.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r4a66bfbf62281e31bc1345ebecbfd96f35199eecd77bfe4e903e906f%40%3Cissues.ignite.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r4b1fef117bccc7f5fd4c45fd2cabc26838df823fe5ca94bc42a4fd46%40%3Cissues.ignite.apache.org%3Emailing-list, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HAAKW7S66TECXGJZWB3ZFGOQAK34IYHF/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5CXQIJVYU4R3JL6LSPXQ5GIV7WLLA7PI/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGNKXBNRRCZTGGXPIX3VBWCF2SAM3DWS/vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2021-28163 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-j6qj-j888-vvgq changed 2026-07-08CC-BY-4.0
NVDCVE-2021-28163 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-SOLR-2021-28163 changed 2026-09-08Apache-2.0