CVE-2021-28163: Infoleak
Eclipse Jetty could allow a remote authenticated attacker to obtain sensitive information, caused by a flaw when the ${jetty.base} directory or the ${jetty.base}/webapps directory is a symlink. By sending a specially-crafted request, an attacker could exploit this vulnerability to obtain webapp directory contents information, and use this information to launch further attacks against the affected system.
Other sources
If the ${jetty.base} directory or the ${jetty.base}/webapps directory is a symlink the contents of the ${jetty.base}/webapps directory may be deployed as a static web application, exposing the content of the directory for download. The highest threat from this vulnerability is to data confidentiality.
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 Software
Remediation
Patch Available
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2021-28163?
CVE-2021-28163 is a vulnerability in Eclipse Jetty that allows a remote authenticated attacker to obtain sensitive information.
How does CVE-2021-28163 work?
CVE-2021-28163 occurs when the ${jetty.base} directory or the ${jetty.base}/webapps directory is a symlink. By sending a specially-crafted request, an attacker can exploit this vulnerability to obtain webapp directory information.
What is the severity of CVE-2021-28163?
The severity of CVE-2021-28163 is medium, with a severity value of 2.7.
Which versions of Jetty are affected by CVE-2021-28163?
Jetty versions 9.4.32 to 9.4.39, 10.0.0-beta2 to 10.0.2, and 11.0.0-beta2 to 11.0.2 are affected by CVE-2021-28163.
How can I fix CVE-2021-28163?
To fix CVE-2021-28163, it is recommended to update Jetty to version 9.4.39, 10.0.2, or 11.0.2.