LOW 3.1 Maven

Eclipse Jetty's PushSessionCacheFilter can cause remote DoS attacks

GHSA-r7m4-f9h5-gr79 · CVE-2024-6762

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Impact

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

Patches

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes