Every CVE Search/ Get API key

CVE-2021-28163

Directory exposure in jetty

2.7 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

4.18%Up 3.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 2.7

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.

Record
CVE-2021-28163
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2021-0837 2.7

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.

Record
EUVD-2021-0837
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-j6qj-j888-vvgq 2.7

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}:

demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│   └── async-rest.war
└── webapps -> deploy

Workarounds

Do not use a symlink

Record
GHSA-j6qj-j888-vvgq
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-59, CWE-200
Updated
2026-11-02
NVD 2.7

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.

Record
CVE-2021-28163
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-200, CWE-59
Updated
2026-11-02
OSV 2.7

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.

Record
CVE-2021-28163
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-28163 2.7

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.

Record
DEBIAN-CVE-2021-28163
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVGHSA-j6qj-j888-vvgq 2.7

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}:

demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│   └── async-rest.war
└── webapps -> deploy

Workarounds

Do not use a symlink

Record
GHSA-j6qj-j888-vvgq
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200, CWE-59
Updated
2026-11-02
OSVRHSA-2021:1509 7.5

Red Hat Security Advisory: rh-eclipse-jetty security update

Record
RHSA-2021:1509
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2021:1551 7.5

Red Hat Security Advisory: OpenShift Container Platform 4.7.11 security and bug fix update

Record
RHSA-2021:1551
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-28163 2.7

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.

Record
UBUNTU-CVE-2021-28163
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVBIT-solr-2021-28163 No score

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.

Record
BIT-solr-2021-28163
Updated
2026-11-02
OSVopenSUSE-SU-2021:2005-1 No score

Security update for jetty-minimal

This update for jetty-minimal fixes the following issues:

Update to version 9.4.42.v20210604

  • Fix: bsc#1187117, CVE-2021-28169 - possible for requests to the ConcatServlet with a doubly encoded path to access protected resources within the WEB-INF directory
  • Fix: bsc#1184367, CVE-2021-28165 - jetty server high CPU when client send data length > 17408
  • Fix: bsc#1184368, CVE-2021-28164 - Normalize ambiguous URIs
  • Fix: bsc#1184366, CVE-2021-28163 - Exclude webapps directory from deployment scan
Record
openSUSE-SU-2021:2005-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10878-1 No score

jetty-annotations-9.4.43-1.2 on GA media

These are all security issues fixed in the jetty-annotations-9.4.43-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10878-1
Updated
2026-11-02
OSVSUSE-SU-2021:2005-1 No score

Security update for jetty-minimal

This update for jetty-minimal fixes the following issues:

Update to version 9.4.42.v20210604

  • Fix: bsc#1187117, CVE-2021-28169 - possible for requests to the ConcatServlet with a doubly encoded path to access protected resources within the WEB-INF directory
  • Fix: bsc#1184367, CVE-2021-28165 - jetty server high CPU when client send data length > 17408
  • Fix: bsc#1184368, CVE-2021-28164 - Normalize ambiguous URIs
  • Fix: bsc#1184366, CVE-2021-28163 - Exclude webapps directory from deployment scan
Record
SUSE-SU-2021:2005-1
Updated
2026-11-02

Affected products

Show 13 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
org.eclipse.jetty:jetty-deploy
Maven
9.4.32 up to 9.4.39
9.4.39
org.eclipse.jetty:jetty-deploy
Maven
10.0.0 up to 10.0.2
10.0.2
org.eclipse.jetty:jetty-deploy
Maven
11.0.0 up to 11.0.2
11.0.2
solr
Bitnami
8.8.1 up to 8.8.2
8.8.2
jetty9
Debian:12
before 9.4.39-1
9.4.39-1
jetty9
Debian:13
before 9.4.39-1
9.4.39-1
jetty9
Debian:14
before 9.4.39-1
9.4.39-1
org.eclipse.jetty:jetty-deploy
Maven
9.4.32 up to 9.4.39, plus listed versions
9.4.32.v202009309.4.33.v202010209.4.34.v202011029.4.35.v202011209.4.36.v202101149.4.37.v202102199.4.38.v20210224
9.4.39
org.eclipse.jetty:jetty-deploy
Maven
10.0.0 up to 10.0.2, plus listed versions
10.0.1
10.0.2
org.eclipse.jetty:jetty-deploy
Maven
11.0.0 up to 11.0.2, plus listed versions
11.0.1
11.0.2
Show 33 moreShow less
Affected packages
PackageAffectedFixed
rh-eclipse-jetty
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-client
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-continuation
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-http
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-io
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-jaas
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-javadoc
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-jmx
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-security
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-server
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-servlet
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-util
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-util-ajax
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-webapp
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
rh-eclipse-jetty-xml
Red Hat:devtools:2021
From an advisory covering 3 CVEs
before 0:9.4.40-1.1.el7_9
0:9.4.40-1.1.el7_9
cri-tools
Red Hat:openshift:4.7::el7
From an advisory covering 6 CVEs
before 0:1.20.0-2.el7
0:1.20.0-2.el7
cri-tools-debuginfo
Red Hat:openshift:4.7::el7
From an advisory covering 6 CVEs
before 0:1.20.0-2.el7
0:1.20.0-2.el7
runc
Red Hat:openshift:4.7::el7
From an advisory covering 6 CVEs
before 0:1.0.0-95.rhaos4.8.gitcd80260.el7
0:1.0.0-95.rhaos4.8.gitcd80260.el7
runc-debuginfo
Red Hat:openshift:4.7::el7
From an advisory covering 6 CVEs
before 0:1.0.0-95.rhaos4.8.gitcd80260.el7
0:1.0.0-95.rhaos4.8.gitcd80260.el7
cri-tools
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.20.0-2.el8
0:1.20.0-2.el8
cri-tools-debuginfo
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.20.0-2.el8
0:1.20.0-2.el8
cri-tools-debugsource
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.20.0-2.el8
0:1.20.0-2.el8
runc
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.0.0-95.rhaos4.8.gitcd80260.el8
0:1.0.0-95.rhaos4.8.gitcd80260.el8
runc-debuginfo
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.0.0-95.rhaos4.8.gitcd80260.el8
0:1.0.0-95.rhaos4.8.gitcd80260.el8
runc-debugsource
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:1.0.0-95.rhaos4.8.gitcd80260.el8
0:1.0.0-95.rhaos4.8.gitcd80260.el8
jenkins
Red Hat:openshift:4.7::el8
From an advisory covering 6 CVEs
before 0:2.277.3.1620393611-1.el8
0:2.277.3.1620393611-1.el8
jetty-minimal
SUSE:Linux Enterprise Module for Development Tools 15 SP2
From an advisory covering 4 CVEs
before 9.4.42-3.9.1
9.4.42-3.9.1
jetty-minimal
SUSE:Linux Enterprise Module for Development Tools 15 SP3
From an advisory covering 4 CVEs
before 9.4.42-3.9.1
9.4.42-3.9.1
equinox-bundles
Ubuntu:18.04:LTS
All versions, plus listed versions
4.9-2~18.04
None known
equinox-bundles
Ubuntu:20.04:LTS
All versions, plus listed versions
4.12-14.13-1
None known
equinox-bundles
Ubuntu:22.04:LTS
All versions, plus listed versions
4.18-14.19-1
None known
jetty-minimal
openSUSE:Leap 15.3
From an advisory covering 4 CVEs
before 9.4.42-3.9.1
9.4.42-3.9.1
jetty-websocket
openSUSE:Leap 15.3
From an advisory covering 4 CVEs
before 9.4.42-3.9.1
9.4.42-3.9.1

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-28163 is a low vulnerability (CVSS 2.7) in Eclipse Jetty, published April 1, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.18%, the 90th percentile. Fixed in org.eclipse.jetty:jetty-deploy 9.4.39.

References

Show 96 moreShow less
MoveEnter Open