TLS 1.3 server denial of service via malformed ClientHello pre-shared key extension
Erlang OTP
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Erlang OTP |
| No fix yet |
| Erlang OTP |
| No fix yet |
| Erlang OTP |
| No fix yet |
Original description
The Erlang/OTP ssl application does not validate that the PSK identity list and binder list carried in a TLS 1.3 ClientHello pre-shared key extension have equal length before passing them to the session ticket handler. In tls_handshake_1_3:handle_pre_shared_key/3, an OfferedPreSharedKeys record with a mismatched number of identities and binders is forwarded directly to tls_server_session_ticket:use/4, which crashes the session ticket handler process.