Bug 574146 (CVE-2021-34428) - Jetty SessionListener can prevent a session from being invalidated breaking logout.
Summary: Jetty SessionListener can prevent a session from being invalidated breaking l...
Status: RESOLVED FIXED
Alias: CVE-2021-34428
Product: Community
Classification: Eclipse Foundation
Component: Vulnerability Reports (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Security vulnerabilitied reported against Eclipse projects CLA
QA Contact:
URL:
Whiteboard:
Keywords: security
Depends on:
Blocks:
 
Reported: 2021-06-11 03:01 EDT by Lachlan Roberts CLA
Modified: 2021-06-28 09:02 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lachlan Roberts CLA 2021-06-11 03:01:15 EDT
For 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.

CWEs
CWE-613

CVSS Score
2.9 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Workarounds
The application should catch all Throwables within their SessionListener#sessionDestroyed() implementations.

This is currently fixed in Jetty 9.4.41, 10.0.3, and 11.0.3.
Comment 1 Wayne Beaton CLA 2021-06-17 09:47:02 EDT
Do you have a security advisory, issue, or pull request that we can reference for more information?