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 moreaffected: 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-serveraffected: 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) opendaylightaffected: workaround, no fix planned “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.”
-
Red Hat AMQ 7.9.0fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3700
-
Red Hat AMQ Streams 1.8.0fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3225
-
Red Hat Fuse 7.10fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:5134
-
Red Hat Integration Camel Quarkus 2fixed: 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.el8fixed: vendor fix “Applications should catch all Throwables within their SessionListener#sessionDestroyed() implementations.” RHSA-2021:3758
show 1 moreshow fewer
-
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 morenot 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
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
debian.org
/security/2021/dsa-4949
vendor-advisory, web, third-party-advisory
-
github.com
/eclipse/jetty.project/security/advisories/GHSA-m6cp-vxjx-65j6
web, third-party-advisory
-
lists.apache.org
/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695%40%3Cjira.kafka.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rf36f1114e84a3379b20587063686148e2d5a39abc0b8a66ff2a9087a%40%3Cissues.zookeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rddbb4f8d5db23265bb63d14ef4b3723b438abc1589f877db11d35450%40%3Cissues.zookeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r67c4f90658fde875521c949448c54c98517beecdc7f618f902c620ec%40%3Cissues.zookeeper.apache.org%3E
mailing-list
- lists.apache.org /thread.html/r8a1a332899a1f92c8118b0895b144b27a78e3f25b9d58a34dd5eb084%40%3Cnotifications.zookeeper.apache.org
- lists.apache.org /thread.html/rbefa055282d52d6b58d29a79fbb0be65ab0a38d25f00bd29eaf5e6fd%40%3Cnotifications.zookeeper.apache.org
-
security.netapp.com
/advisory/ntap-20210813-0003/
third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, not-applicable, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-34428
advisory
-
github.com
/eclipse/jetty.project
web
-
lists.apache.org
/thread.html/r67c4f90658fde875521c949448c54c98517beecdc7f618f902c620ec@%3Cissues.zookeeper.apache.org%3E
web
-
lists.apache.org
/thread.html/r8a1a332899a1f92c8118b0895b144b27a78e3f25b9d58a34dd5eb084@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rbefa055282d52d6b58d29a79fbb0be65ab0a38d25f00bd29eaf5e6fd@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rddbb4f8d5db23265bb63d14ef4b3723b438abc1589f877db11d35450@%3Cissues.zookeeper.apache.org%3E
web
-
lists.apache.org
/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695@%3Cjira.kafka.apache.org%3E
web
-
lists.apache.org
/thread.html/rf36f1114e84a3379b20587063686148e2d5a39abc0b8a66ff2a9087a@%3Cissues.zookeeper.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20210813-0003
web
Sources
- CVE List CVE-2021-34428
- GitHub Advisory GHSA-m6cp-vxjx-65j6
- NVD CVE-2021-34428
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.