Skip to content
Fencer Vulns
low 2.9

CVE-2021-34428 json

SessionListener can prevent a session from being invalidated breaking logout

published 2021-06-22 5 y ago modified 2026-07-08 4 mo ago also GHSA-m6cp-vxjx-65j6 , EUVD-2021-1354

cvss
2.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.eclipse.jetty:jetty-server 9.4.41, 10.0.3, 11.0.3
  • oracle rest_data_services 21.3
  • jetty9 Debian 14, Debian 13, Debian 12 9.4.39-2

debian advisories DEBIAN-CVE-2021-34428

  • jenkins openshift 4.9 2.289.3.1630554997-1.el8
  • openshift openshift 4.9 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7
  • openshift openshift 4.9 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8
  • openvswitch2.15 openshift 4.9 2.15.0-28.el8fdp
  • coreos-installer openshift 4.9 0.10.0-2.rhaos4.9.el8
  • openshift-hyperkube openshift 4.9 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7
  • openshift-hyperkube openshift 4.9 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8
  • openvswitch2.15-test openshift 4.9 2.15.0-28.el8fdp

red hat advisories RHSA-2021:3758

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-34428 updated cvss 3.5

jetty: SessionListener can prevent a session from being invalidated breaking logout

  • Red Hat Enterprise Linux 7 jetty-io, jetty-ant, jetty-jmx, jetty-jsp, jetty-xml, jetty-http, +30 more
    affected: workaround, no fix planned “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.”
  • Red Hat Enterprise Linux 8 jetty-io, jetty-http, jetty-util, jetty-server, jetty-servlet, jetty-security, +1 more Red Hat Integration Camel K 1 jetty Red Hat Integration Camel Quarkus 1 jetty Red Hat Integration Service Registry jetty-server
    affected: workaround, no fix available “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.”
  • Red Hat JBoss A-MQ 6 jetty-server Red Hat JBoss Fuse 6 jetty, jetty-server Red Hat OpenShift Container Platform 3.11 jenkins Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hive, openshift4/ose-metering-hadoop, openshift4/ose-metering-presto Red Hat OpenStack Platform 13 (Queens) opendaylight
    affected: workaround, no fix planned “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.”
  • Red Hat AMQ 7.9.0
    fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3700
  • Red Hat AMQ Streams 1.8.0
    fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3225
  • Red Hat Fuse 7.10
    fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:5134
  • Red Hat Integration Camel Quarkus 2
    fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:4767
  • Red Hat OpenShift Container Platform 4.9 jenkins 2.289.3.1630554997-1.el8
    fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3758
show 1 more
  • Red Hat JBoss Data Grid 7 jetty-server Red Hat OpenShift Container Platform 4.9 haproxy 2.2.15-1.el8, cri-tools 1.22.0-1.el8, cri-tools 1.22.0-2.el7, python-cmd2 1.4.0-1.1.el8, ovn21.09 21.09.0-20.el8fdp, pycdlib-tools 1.11.0-3.el8, +103 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 2.9 CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 3.5 CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD 2.0 3.6 AV:L/AC:L/Au:N/C:P/I:P/A:N
GitHub 3.1 3.5 CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.eclipse.jetty:jetty-server
<9.4.41
>=10.0.0, <10.0.3
>=11.0.0, <11.0.3
9.4.41
10.0.3
11.0.3

Affected products

  • The Eclipse Foundation Eclipse Jetty

Classification

Weakness
  • CWE-613 DEPRECATED: Insufficient Session Expiration

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.