cve.bz

CVE-2021-28163 Link Following

2.7 lowExploit referenceEPSS 4.2%Fix available

Low (2.7). EPSS 4.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jetty:jetty-deploy 10.0.2, 11.0.2, 9.4.39.

On this page
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.

Severity

CVSS 3.1

2.7 low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS
4.2% (unchanged from 4.2% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28163 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28163?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28163?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28163 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Eclipse Foundation Eclipse Jettyfrom 9.4.32 before unspecified
The Eclipse Foundation Eclipse Jettythrough 9.4.38
The Eclipse Foundation Eclipse Jettyfrom 10.0.0.beta2 before unspecified
The Eclipse Foundation Eclipse Jettythrough 10.0.1
The Eclipse Foundation Eclipse Jettyfrom 11.0.0.beta2 before unspecified
The Eclipse Foundation Eclipse Jettythrough 11.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j6qj-j888-vvgqMavenorg.eclipse.jetty:jetty-deploy>=9.4.32 <9.4.399.4.39
GHSA-j6qj-j888-vvgqMavenorg.eclipse.jetty:jetty-deploy>=10.0.0 <10.0.210.0.2
GHSA-j6qj-j888-vvgqMavenorg.eclipse.jetty:jetty-deploy>=11.0.0 <11.0.211.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jetty99.4.39-1DEBIAN-CVE-2021-28163
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSequinox-bundlesno fix listedUBUNTU-CVE-2021-28163
Red Hatdevtools:2021rh-eclipse-jetty, rh-eclipse-jetty-io, rh-eclipse-jetty-jmx and 12 more0:9.4.40-1.1.el7_9RHSA-2021:1509
Red Hatopenshift:4.7::el7cri-tools, cri-tools-debuginfo0:1.20.0-2.el7RHSA-2021:1551
Red Hatopenshift:4.7::el7runc, runc-debuginfo0:1.0.0-95.rhaos4.8.gitcd80260.el7RHSA-2021:1551
Red Hatopenshift:4.7::el8cri-tools, cri-tools-debuginfo, cri-tools-debugsource0:1.20.0-2.el8RHSA-2021:1551
Red Hatopenshift:4.7::el8jenkins0:2.277.3.1620393611-1.el8RHSA-2021:1551
Red Hatopenshift:4.7::el8runc, runc-debuginfo, runc-debugsource0:1.0.0-95.rhaos4.8.gitcd80260.el8RHSA-2021:1551
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3jetty-minimal9.4.42-3.9.1SUSE-SU-2021:2005-1
openSUSELeap 15.3jetty-minimal, jetty-websocket9.4.42-3.9.1openSUSE-SU-2021:2005-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Container Platform (OCP), the hive/presto/hadoop components that comprise the OCP metering stack, ship the vulnerable version of jetty.

Since the release of OCP 4.6, the metering product has been deprecated [1], hence the affected components are marked as wontfix.

This may be fixed in the future.

[1] https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-release-notes.html#ocp-4-6-metering-operator-deprecated

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Important and Critical flaws.

Red Hat CodeReady Studio 12 is not affected by this vulnerability because it does not ship a vulnerable version of jetty.

ProductPackageStateAdvisory
Red Hat AMQ 7.8.2jetty-serverFixed 2021-07-12RHSA-2021:2689
Red Hat AMQ 7.9.0Fixed 2021-09-30RHSA-2021:3700
Red Hat AMQ Streams 1.6.4Fixed 2021-05-13RHSA-2021:1560
Red Hat AMQ Streams 1.8.0jetty-serverFixed 2021-08-19RHSA-2021:3225
Red Hat Developer Toolsrh-eclipse-jetty-0:9.4.40-1.1.el7_9Fixed 2021-05-06RHSA-2021:1509
Red Hat Fuse 7.10jettyFixed 2021-12-14RHSA-2021:5134
Red Hat Integration Camel Quarkus 2Fixed 2021-11-23RHSA-2021:4767
Red Hat OpenShift Container Platform 4.7jenkins-0:2.277.3.1620393611-1.el8Fixed 2021-05-19RHSA-2021:1551
Red Hat OpenShift Container Platform 4.7runc-0:1.0.0-95.rhaos4.8.gitcd80260.el7Fixed 2021-05-19RHSA-2021:1551
RHAF Camel-K 1.8jettyFixed 2022-09-09RHSA-2022:6407
Red Hat Enterprise Linux 7jettyOut of support scope
Red Hat Enterprise Linux 8eclipse:rhel8/jettyWill not fix
Red Hat Integration Camel Quarkus 1jettyAffected
Red Hat Integration Service Registryjetty-serverAffected
Red Hat JBoss A-MQ 6jetty-serverOut of support scope
Red Hat JBoss Fuse 6jettyOut of support scope
Red Hat JBoss Fuse 6jetty-serverOut of support scope
Red Hat OpenShift Container Platform 3.11jenkinsAffected
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hadoopWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hiveWill not fix
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28163.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON