# SessionListener can prevent a session from being invalidated breaking logout

Advisory record · `GHSA-m6cp-vxjx-65j6`

- **Identifiers:** `GHSA-m6cp-vxjx-65j6` · `CVE-2021-34428`
- **State:** Confirmed
- **Severity:** CVSS 2.9 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-613](https://cwe.mitre.org/data/definitions/613.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 23 Jun 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Jun 2021, 20:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.eclipse.jetty:jetty-server` (Maven): affected `<9.4.41 || >=10.0.0, <10.0.3 || >=11.0.0, <11.0.3`; fixed in `9.4.41`, `10.0.3`, `11.0.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Jetty-server versions before 9.4.41, from 10.0.0 before 10.0.3, and from 11.0.0 before 11.0.3 are affected. If a SessionListener's sessionDestroyed() method throws an exception, the session ID may not be invalidated, so in clustered deployments with multiple contexts a user can remain logged in on a shared computer. There is no known way for an attacker to trigger this; it depends on an application throwing the exception. Upgrade to 9.4.41, 10.0.3, or 11.0.3. As a workaround, catch all Throwables inside SessionListener sessionDestroyed() implementations.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 2.9 Low, CVSS 3.1: `CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`, from CNA (eclipse)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0096, the 62nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Jun 2021, 14:42 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/jetty/jetty.project/security/advisories/GHSA-m6cp-vxjx-65j6)
- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m6cp-vxjx-65j6)

## Sources

- [GitHub Advisory Database: GHSA-m6cp-vxjx-65j6](https://github.com/advisories/GHSA-m6cp-vxjx-65j6)
- [OSV: GHSA-m6cp-vxjx-65j6](https://osv.dev/vulnerability/GHSA-m6cp-vxjx-65j6)
- <https://github.com/eclipse/jetty.project/security/advisories/GHSA-m6cp-vxjx-65j6>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-34428>
- <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>
- <https://www.debian.org/security/2021/dsa-4949>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m6cp-vxjx-65j6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m6cp-vxjx-65j6/>. Everything for agents: <https://agentprime.io/llms.txt>.
