ADVISORIES

GitHub Advisory Database

GHSA-r7m4-f9h5-gr79

Eclipse Jetty's PushSessionCacheFilter can cause remote DoS attacks

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.eclipse.jetty:jetty-servlets
From 10.0.0 before 10.0.18 (fixed in 10.0.18)
Mavenorg.eclipse.jetty:jetty-servlets
From 11.0.0 before 11.0.18 (fixed in 11.0.18)
Mavenorg.eclipse.jetty:jetty-servlets
From 12.0.0 before 12.0.4 (fixed in 12.0.4)

References