rustls before 0.23.46 Denial of Service via Brotli Certificate Decompression
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.23.46, rustls 0.23.46 and rustls 0.24.0-dev.2.
rustls before 0.23.46 contains an uncontrolled memory allocation flaw in its optional Brotli certificate decompression, which limits decompressed output size but accepts an input-selected large history window. Malicious peers can send a certificate with a five-byte Brotli header requesting up to 1 GiB before authentication, aborting Brotli-enabled clients or client-authenticating servers whose allocator cannot satisfy the request.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rustls | <0.23.46 | 0.23.46 | |
| cargo: rustls | <0.23.46, >=0.23.9 <0.23.46, >=0.24.0-dev.1 <0.24.0-dev.2 | 0.23.46, 0.24.0-dev.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in rustls (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket