GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Port 4.1: Bound the SNI host name by the server_name extension (#18121) by chrisvest · Pull Request #18448 · netty/netty Conversation
Member
Motivation:
Modification:
Result: Only host names contained in the (cherry picked from commit 20dd973)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: `AbstractSniHandler.extractSniHostname(...)` bounds the `host_name` length by `extensionsLimit`, the end of all extensions, not by the end of the `server_name` extension. RFC 6066 requires the `ServerNameList` to fill the extension data. As a result a `host_name` could be read from the following extension(s), the `server_name_list` length was never checked, and an empty `host_name` was returned as `""`. Modification: - Bound the SNI parse by the end of the `server_name` extension. - Require the `server_name_list` length to match the extension data. - Reject an empty `host_name`. - Throw NotSslRecordException for a malformed server_name extension and fail closed in SslClientHelloHandler instead of selecting the default. - Add tests. Result: Only host names contained in the `server_name` extension are returned; malformed `server_name` extensions cause the handshake to fail closed. (cherry picked from commit 20dd973) Co-authored-by: Norman Maurer <[email protected]>
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅🏷️ Commit: de1d255 Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.