CVE-2021-34428
SessionListener can prevent a session from being invalidated breaking logout
Also known as GHSA-m6cp-vxjx-65j6
Mitigation
- Upgrade org.eclipse.jetty:jetty-server to one of 9.4.41, 10.0.3, 11.0.3 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.eclipse.jetty:jetty-server (< 9.4.41)
- Anyone running 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
Vulnerability facts
- Affected
- org.eclipse.jetty:jetty-server < 9.4.41
- Fixed in
- 9.4.41, 10.0.3, 11.0.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.9 (v3.1, CNA)CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Physical
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.96% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-613
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.eclipse.jetty:jetty-server | < 9.4.41 | 9.4.41, 10.0.3, 11.0.3 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-34428. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-34428.md Affected: org.eclipse.jetty:jetty-server < 9.4.41 Fixed in: 9.4.41, 10.0.3, 11.0.3 Steps: 1. Search this machine and project for org.eclipse.jetty:jetty-server (Maven), The Eclipse Foundation Eclipse Jetty: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://lists.apache.org/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rf36f1114e84a3379b20587063686148e2d5a39abc0b8a66ff2a9087a%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rddbb4f8d5db23265bb63d14ef4b3723b438abc1589f877db11d35450%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r67c4f90658fde875521c949448c54c98517beecdc7f618f902c620ec%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r8a1a332899a1f92c8118b0895b144b27a78e3f25b9d58a34dd5eb084%40%3Cnotifications.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rbefa055282d52d6b58d29a79fbb0be65ab0a38d25f00bd29eaf5e6fd%40%3Cnotifications.zookeeper.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210813-0003/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/eclipse/jetty.project
- https://lists.apache.org/thread.html/r67c4f90658fde875521c949448c54c98517beecdc7f618f902c620ec@%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r8a1a332899a1f92c8118b0895b144b27a78e3f25b9d58a34dd5eb084@%3Cnotifications.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rbefa055282d52d6b58d29a79fbb0be65ab0a38d25f00bd29eaf5e6fd@%3Cnotifications.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rddbb4f8d5db23265bb63d14ef4b3723b438abc1589f877db11d35450@%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695@%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rf36f1114e84a3379b20587063686148e2d5a39abc0b8a66ff2a9087a@%3Cissues.zookeeper.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210813-0003
FAQ
Is CVE-2021-34428 being exploited?
There is no confirmed exploitation: CVE-2021-34428 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-34428?
Low: CVSS 2.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2021-34428?
org.eclipse.jetty:jetty-server < 9.4.41.
Is there a fix for CVE-2021-34428?
Yes. Fixed in 9.4.41, 10.0.3, 11.0.3. Upgrade org.eclipse.jetty:jetty-server to one of 9.4.41, 10.0.3, 11.0.3 (or later in the same release line).
How do I check if I'm affected by CVE-2021-34428?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.