GHSA-m6cp-vxjx-65j6

    Dashboard / Vulnerabilities / GHSA-m6cp-vxjx-65j6

    GHSA-m6cp-vxjx-65j6

    Published: 23 Jun 2021Last Modified: 8 Jul 2026

    Summary: SessionListener can prevent a session from being invalidated breaking logout

    Details: ### Impact 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. There is no known path for an attacker to induce such an exception to be thrown, thus they must rely on an application to throw such an exception. The OP has also identified that during the call to `sessionDestroyed`, the `getLastAccessedTime()` throws an `IllegalStateException`, which potentially contrary to the servlet spec, so applications calling this method may always throw and fail to log out. If such an application was only tested on a non clustered test environment, then it may be deployed on a clustered environment with multiple contexts and fail to log out. ### Workarounds The application should catch all Throwables within their `SessionListener#sessionDestroyed()` implementations.

    Affected packages

    Package

    Name: org.eclipse.jetty:jetty-server

    Purl: pkg:maven/org.eclipse.jetty/jetty-server

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -9.4.41

    Affected versions

    7.0.0.M0
    7.0.0.M1
    7.0.0.M2
    7.0.0.M3
    7.0.0.M4
    7.0.0.RC0
    7.0.0.RC1
    7.0.0.RC2
    7.0.0.RC3
    7.0.0.RC4
    7.0.0.RC5
    7.0.0.RC6
    7.0.0.v20091005
    7.0.1.v20091125
    7.0.2.RC0
    7.0.2.v20100331

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-m6cp-vxjx-65j6 | CVE-DB