LOW 3.1

CVE-2024-6762

Eclipse Jetty's PushSessionCacheFilter can cause remote DoS attacks

Description

Impact

Jetty PushSessionCacheFilter can be exploited by unauthenticated users to launch remote DoS attacks by exhausting the server’s memory.

Patches

  • https://github.com/jetty/jetty.project/pull/9715
  • https://github.com/jetty/jetty.project/pull/9716

Workarounds

The session usage is intrinsic to the design of the PushCacheFilter. The issue can be avoided by:

  • not using the PushCacheFilter. Push has been deprecated by the various IETF specs and early hints responses should be used instead.
  • reducing the reducing the idle timeout on unauthenticated sessions will reduce the time such session stay in memory.
  • configuring a session cache to use session passivation, so that sessions are not stored in memory, but rather in a database or file system that may have significantly more capacity than memory.

References

  • https://github.com/jetty/jetty.project/pull/10756
  • https://github.com/jetty/jetty.project/pull/10755

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.eclipse.jetty » jetty-servlets
>= 10.0.0, < 10.0.18>= 11.0.0, < 11.0.18>= 12.0.0, < 12.0.4
10.0.18, 11.0.18, 12.0.4

Blast radius

1affected artifacts
37affected versions
537dependent artifacts (est.)
7,599dependent versions

31% of the dependent artifacts (171) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,443
2 hops
2,350
3 hops
1,704
4 hops
1,699
5 hops
294
6 hops
109

Most used dependents

Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.