# CVE-2021-34428: SessionListener can prevent a session from being invalidated breaking logout

Source: https://junglewise.ai/threats/cve-2021-34428-sessionlistener-can-prevent-a-session-from-being-invalidated  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-06-23  
License: CC BY 4.0 with a link back

CVE-2021-34428 · Severity: low · CVSS 3.1 · Published 2021-06-23

SessionListener can prevent a session from being invalidated breaking logout

Technologies: [org.eclipse.jetty:jetty-server (Maven)](https://junglewise.ai/threats/technologies/org-eclipse-jetty-jetty-server). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-34428 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-34428 being exploited in the wild.

**How severe is CVE-2021-34428?** Low severity, with a CVSS score of 3.1, published 23 June 2021.

**Which products and versions are affected?** org.eclipse.jetty:jetty-server (Maven) ECOSYSTEM:introduced=0,fixed=9.4.41.

**Is there a fix for CVE-2021-34428?** Yes. org.eclipse.jetty:jetty-server (Maven): upgrade to 9.4.41 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-34428?** Check whether you run org.eclipse.jetty:jetty-server (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.eclipse.jetty:jetty-server (Maven): upgrade to 9.4.41 or later

  ```sh
  # set org.eclipse.jetty:jetty-server to 9.4.41 in your pom.xml or build.gradle
  ```


## Affected products

- org.eclipse.jetty:jetty-server (Maven) ECOSYSTEM:introduced=0,fixed=9.4.41

## Identifiers

- CVE-2021-34428
- GHSA-m6cp-vxjx-65j6

## Related threats

- [Eclipse Jetty host authority and Host header mismatch](https://junglewise.ai/threats/cve-2026-6790-eclipse-jetty-host-authority-and-host-header-mismatch)
- [Eclipse Jetty information leakage via retained HTTP/1.1 trailers](https://junglewise.ai/threats/cve-2026-10051-eclipse-jetty-information-leakage-via-retained-http-1-1-trailers)
- [Eclipse Jetty buffer leak in HttpConnection](https://junglewise.ai/threats/cve-2024-7708-eclipse-jetty-buffer-leak-in-httpconnection)
- [Eclipse Jetty memory leak in GzipHandler](https://junglewise.ai/threats/cve-2026-1605-eclipse-jetty-memory-leak-in-gziphandler)
- [**UNSUPPORTED WHEN ASSIGNED** GzipHandler causes part of request body to be seen as request body of a separate request](https://junglewise.ai/threats/cve-2024-13009-unsupported-when-assigned-gziphandler-causes-part-of-request-body)
