Skip to content
OpenAdvisories
Low · 2.9 Public exploit CVE-2021-34428 EUVD-2021-1354GHSA-m6cp-vxjx-65j6

SessionListener can prevent a session from being invalidated breaking logout

Published Jun 22, 2021 · Updated Aug 4, 2024 · Assigned by eclipse

Description

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.

Affected products

VendorProductAffectedFixed
The Eclipse Foundation Eclipse Jetty 9.0.0 – < unspecified, unspecified – ≤ 9.4.40, 10.0.0 – < unspecified, unspecified – ≤ 10.0.2, 11.0.0 – < unspecified, unspecified – ≤ 11.0.2 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jetty9 9.4.39-2 —
Debian 13 jetty9 9.4.39-2 —
Debian 12 jetty9 9.4.39-2 —
Debian 10 jetty9 9.4.16-0+deb10u1 DSA-4949-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS jetty9 No fix yet —
Ubuntu 18.04 LTS jetty9 No fix yet —
Ubuntu 16.04 LTS jetty +2 No fix yet —
Ubuntu 14.04 LTS jetty +1 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 coreos-installer +1 0.10.0-2.rhaos4.9.el8 RHSA-2021:3758
Red Hat OpenShift 4 jenkins 2.289.3.1630554997-1.el8 RHSA-2021:3758
Red Hat OpenShift 4 openshift +1 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7 RHSA-2021:3758
Red Hat OpenShift 4 openvswitch2.15 +5 2.15.0-28.el8fdp RHSA-2021:3758

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 jetty-io +35 9.0.3-8.amzn2.0.5 ALAS2-2025-2855

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.eclipse.jetty:jetty-server < 9.4.41 9.4.41 GHSA-m6cp-vxjx-65j6
Maven org.eclipse.jetty:jetty-server >= 10.0.0, < 10.0.3 10.0.3 GHSA-m6cp-vxjx-65j6
Maven org.eclipse.jetty:jetty-server >= 11.0.0, < 11.0.3 11.0.3 GHSA-m6cp-vxjx-65j6

Advisories 5

References