cve.bz

CVE-2021-34428 Insufficient Session Expiration

3.5 lowEPSS 1.0%Fix available

Low (3.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jetty:jetty-server 10.0.3, 11.0.3, 9.4.41.

On this page
For Eclipse Jetty versions <= 9.4.40, <= 10.0.2, <= 11.0.2, if an exception is thrown from the SessionListener#sessionDestroyed() method, then the session ID is not invalidated in the session ID manager. On deployments with clustered sessions and multiple contexts this can result in a session not being invalidated. This can result in an application used on a shared computer being left logged in.

Severity

CVSS 3.1

3.5 low
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
OWASP Top 10
A07:2025 Authentication Failures
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-34428 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-34428?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-34428?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-34428 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.0.0 before unspecified
The Eclipse Foundation Eclipse Jettythrough 9.4.40
The Eclipse Foundation Eclipse Jettyfrom 10.0.0 before unspecified
The Eclipse Foundation Eclipse Jettythrough 10.0.2
The Eclipse Foundation Eclipse Jettyfrom 11.0.0 before unspecified
The Eclipse Foundation Eclipse Jettythrough 11.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m6cp-vxjx-65j6Mavenorg.eclipse.jetty:jetty-server<9.4.419.4.41
GHSA-m6cp-vxjx-65j6Mavenorg.eclipse.jetty:jetty-server>=10.0.0 <10.0.310.0.3
GHSA-m6cp-vxjx-65j6Mavenorg.eclipse.jetty:jetty-server>=11.0.0 <11.0.311.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10jetty99.4.16-0+deb10u1DSA-4949-1
Debian12, 13, 14jetty99.4.39-2DEBIAN-CVE-2021-34428
Ubuntu14.04:LTSjetty, jetty8no fix listedUBUNTU-CVE-2021-34428
Ubuntu16.04:LTSjetty, jetty8, jetty9no fix listedUBUNTU-CVE-2021-34428
Ubuntu18.04:LTS, 20.04:LTSjetty9no fix listedUBUNTU-CVE-2021-34428
Red Hatopenshift:4.9::el7openshift, openshift-hyperkube0:4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7RHSA-2021:3758
Red Hatopenshift:4.9::el8coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more0:0.10.0-2.rhaos4.9.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8jenkins0:2.289.3.1630554997-1.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8openshift, openshift-hyperkube0:4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8openvswitch2.15, openvswitch2.15-test, openvswitch2.15-devel and 6 more0:2.15.0-28.el8fdpRHSA-2021:3758

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

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.

OCP 3.11 is out of the support scope for Moderate and Low impact vulnerabilities because is already in the Maintenance Support phase, hence the affected OCP 3.11 component has been marked as wontifx.

[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's mitigation

Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.

ProductPackageStateAdvisory
Red Hat AMQ 7.9.0jetty-serverFixed 2021-09-30RHSA-2021:3700
Red Hat AMQ Streams 1.8.0jetty-serverFixed 2021-08-19RHSA-2021:3225
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.9jenkins-0:2.289.3.1630554997-1.el8Fixed 2021-10-18RHSA-2021:3758
Red Hat Enterprise Linux 7jettyOut of support scope
Red Hat Enterprise Linux 8eclipse:rhel8/jettyFix deferred
Red Hat Integration Camel K 1jettyFix deferred
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 Data Grid 7jetty-serverNot affected
Red Hat JBoss Fuse 6jettyOut of support scope
Red Hat JBoss Fuse 6jetty-serverOut of support scope
Red Hat OpenShift Container Platform 3.11jenkinsWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hadoopWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hiveWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-metering-prestoWill not fix
Red Hat OpenStack Platform 13 (Queens)opendaylightOut of support scope

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

References

Check your stackJSON