Intel

AIKIDO-2024-10487

rustls is vulnerable to Uncaught Exception

Uncaught ExceptionGHSA-qg5g-gv98-5ffh

82

High Risk

This Affects:

RUSTrustls
0.23.13 - 0.23.17
Fixed in 0.23.18

TL;DR

A bug introduced in rustls version 0.23.13 causes a panic when the server receives a fragmented TLS ClientHello message. This issue specifically affects servers that use the rustls::server::Acceptor::accept() function to handle incoming connections. A fragmented ClientHello can trigger the panic due to improper handling of message boundaries, potentially leading to a Denial of Service (DoS) if an attacker deliberately sends such messages.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

rustls is vulnerable to Uncaught Exception in versions 0.23.13 - 0.23.17.

How to fix this

Upgrade the rustls library to the patch version.