IntelligenceFindingsNMN-2026-0162
`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- rustls crates.iorustls: from 0.23.0 before 0.23.5
- What to do
- Upgrade rustls to 0.21.11 or 0.22.4 or 0.23.5 or later.
- Severity
- UnknownRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
12 listed
Sources
- OSV record RUSTSEC-2024-0336osv.devRetrieved 3 December 2026
- package reference for RUSTSEC-2024-0336crates.ioRetrieved 3 December 2026
- advisory reference for RUSTSEC-2024-0336rustsec.orgRetrieved 3 December 2026
- web reference for RUSTSEC-2024-0336github.comRetrieved 3 December 2026
- OSV record GHSA-6g7w-8wpp-frhjosv.devRetrieved 3 December 2026
- web reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
- advisory reference for GHSA-6g7w-8wpp-frhjnvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
- web reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
- web reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
- web reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
- package reference for GHSA-6g7w-8wpp-frhjgithub.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0162
- Category
- vulnerability
- Component
- rustls (crates.io)rustls: from 0.23.0 before 0.23.5
- Severity
- Unknown. Rated by the source advisory.The source advisory RUSTSEC-2024-0336 gives no severity label. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade rustls to 0.21.11 or 0.22.4 or 0.23.5 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-6g7w-8wpp-frhjCVE-2024-32650RUSTSEC-2024-0336
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
2 events, oldest first
History
History verified: 2 eventsLatest hash77e5bc9972bc77e5bc9972bcc7b21aad71884f257a6fbf94a76405674e52e0216c863357ede2
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-6g7w-8wpp-frhj.
Entered the record in the state Candidate.
Event 1 hashe67432edee17e67432edee175a212fa44801a7079e12a993370d9397517710086fd62cd94e9dCorrectionMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: The source advisory RUSTSEC-2024-0336 changed.
Event 2 hashTitle
Before
Denial of Service Vulnerability in Rustls Library
After
`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input
Sources
Before
[ { "url": "https://osv.dev/vulnerability/GHSA-6g7w-8wpp-frhj", "title": "OSV record GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj", "title": "web reference for GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-32650", "title": "advisory reference for GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d", "title": "web reference for GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/5374108df698e78c3e9ef8265cac311556be24af", "title": "web reference for GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e... (757 more characters)
After
[ { "url": "https://osv.dev/vulnerability/RUSTSEC-2024-0336", "title": "OSV record RUSTSEC-2024-0336", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/rustls", "title": "package reference for RUSTSEC-2024-0336", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2024-0336.html", "title": "advisory reference for RUSTSEC-2024-0336", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d", "title": "web reference for RUSTSEC-2024-0336", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-6g7w-8wpp-frhj", "title": "OSV record GHSA-6g7w-8wpp-frhj", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj", "title": "web reference for GHSA-6g7w-8wpp-frhj", "retrieve... (1029 more characters)
Summary
Before
### Summary `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. ### Details Verified at `0.22` and `0.23` `rustls`, but `0.21` and `0.20` release lines are also affected. `tokio-rustls` and `rustls-ffi` do not call `complete_io` and are not affected. `rustls::Stream` and `rustls::StreamOwned` types use `complete_io` and are affected. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop where: - `eof`: false - `until_handshaked`: true - `self.is_handshaking()`: true - `self.wants_write()`: false - `self.wants_read()`: false ### PoC 1. Run simple server: `cargo run --bin simpleserver test-ca/rsa/end.fullchain test-ca/rsa/end.key` 2. Run following python script ```python3 #!/usr/bin/env python3 import socket ... (2120 more characters)
After
If a `close_notify` alert is received during a handshake, `complete_io` does not terminate. Callers which do not call `complete_io` are not affected. `rustls-tokio` and `rustls-ffi` do not call `complete_io` and are not affected. `rustls::Stream` and `rustls::StreamOwned` types use `complete_io` and are affected.
Affected versions
Before
[ { "name": "rustls", "ranges": [ { "fixed": "0.23.5", "introduced": "0.23.0" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [ { "fixed": "0.22.4", "introduced": "0.22.0" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [ { "fixed": "0.21.11", "introduced": "0.21.0" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [], "versions": [ "0.20" ], "ecosystem": "crates.io" } ]
After
[ { "name": "rustls", "ranges": [ { "fixed": "0.23.5", "introduced": "0.23.0" } ], "ecosystem": "crates.io" } ]
Severity
Before
high
After
unknown
Mitigation
Before
Upgrade rustls to 0.23.5 or later. Upgrade rustls to 0.22.4 or later. Upgrade rustls to 0.21.11 or later.
After
Upgrade rustls to 0.21.11 or 0.22.4 or 0.23.5 or later.
severityRationale
Before
Severity as labelled by the source advisory GHSA-6g7w-8wpp-frhj. CVSS as given: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Noumen has not assessed it.
After
The source advisory RUSTSEC-2024-0336 gives no severity label. Noumen has not assessed it.
77e5bc9972bc77e5bc9972bcc7b21aad71884f257a6fbf94a76405674e52e0216c863357ede2
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.