GHSA-gc59-r5jq-98qw
Duplicate Advisory: Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r7p8-xq5m-436c. This link is maintained to preserve external references. ## Original Description In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable. Upon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals. A subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.eclipse.jetty.ee10:jetty-ee10 | >= 12.1.0, < 12.1.7 | 12.1.7 |
| maven | org.eclipse.jetty.ee10:jetty-ee10 | >= 12.0.0, < 12.0.33 | 12.0.33 |
| maven | org.eclipse.jetty.ee10:jetty-ee10 | >= 11.0.0, < 11.0.28 | 11.0.28 |
| maven | org.eclipse.jetty.ee10:jetty-ee10 | >= 10.0.0, < 10.0.28 | 10.0.28 |
| maven | org.eclipse.jetty.ee10:jetty-ee10 | >= 9.4.0, < 9.4.60 | 9.4.60 |