Skip to content

Commit

Permalink
Add rustls acceptor panic (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz authored Nov 25, 2024
1 parent 8e353a1 commit 37eb6a0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions crates/rustls/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "rustls"
date = "2024-11-22"
url = "https://github.com/rustls/rustls/issues/2227"
categories = ["denial-of-service"]

[versions]
patched = [">= 0.23.18"]
unaffected = [">= 0.23, < 0.23.13", "<= 0.22"]
```

# rustls network-reachable panic in `Acceptor::accept`

A bug introduced in rustls 0.23.13 leads to a panic if the received
TLS ClientHello is fragmented. Only servers that use
`rustls::server::Acceptor::accept()` are affected.

Servers that use `tokio-rustls`'s `LazyConfigAcceptor` API are affected.

Servers that use `tokio-rustls`'s `TlsAcceptor` API are not affected.

Servers that use `rustls-ffi`'s `rustls_acceptor_accept` API are affected.

0 comments on commit 37eb6a0

Please sign in to comment.