VYPR
Low severityNVD Advisory· Published Jun 22, 2021· Updated Aug 4, 2024

CVE-2021-34428

CVE-2021-34428

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Eclipse Jetty session ID not invalidated if SessionListener#sessionDestroyed() throws an exception, allowing persistent sessions on clustered deployments.

Vulnerability

In Eclipse Jetty versions <=9.4.40, <=10.0.2, and <=11.0.2, if an exception is thrown from the SessionListener#sessionDestroyed() method, the session ID is not invalidated in the session ID manager. This issue is particularly relevant on deployments with clustered sessions and multiple contexts, where the failure to invalidate can leave a session active [1][3].

Exploitation

There is no known path for an attacker to directly induce such an exception; exploitation relies on an application throwing an exception within its sessionDestroyed() implementation. Additionally, during the call to sessionDestroyed(), the getLastAccessedTime() method may throw an IllegalStateException, which is contrary to the Servlet specification and can cause logout failures in applications that were only tested in non-clustered environments [3].

Impact

A session that is not properly invalidated can result in an application used on a shared computer remaining logged in, potentially exposing sensitive data or allowing unauthorized access [1][3].

Mitigation

No fixed version has been disclosed in the available references. As a workaround, applications should catch all Throwable instances within their SessionListener#sessionDestroyed() implementations to prevent exceptions from breaking session invalidation [3].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.eclipse.jetty:jetty-serverMaven
< 9.4.419.4.41
org.eclipse.jetty:jetty-serverMaven
>= 10.0.0, < 10.0.310.0.3
org.eclipse.jetty:jetty-serverMaven
>= 11.0.0, < 11.0.311.0.3

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

21

News mentions

0

No linked articles in our index yet.