Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346614 - HttpConnection.handle() spins in case of SSL truncation attacks
Summary: HttpConnection.handle() spins in case of SSL truncation attacks
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Simone Bordet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 05:45 EDT by Simone Bordet CLA
Modified: 2011-05-20 09:45 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 Simone Bordet CLA 2011-05-20 05:45:38 EDT
In case of an SSL truncation attack, i.e. when a remote socket sends a TCP FIN before a SSL close alert, Jetty does not detect the situation cleanly, and the selector will continuously dispatch the endpoint (and hence the connection) because we do not close it.

Instead, we should detect the case, and close the endpoint.
Comment 1 Simone Bordet CLA 2011-05-20 09:45:38 EDT
Fixed. we detect the FIN and act accordingly.