{"schema":"threatline.record/2","record":{"id":"GHSA-w44r-93j7-qv28","aliases":["GHSA-w44r-93j7-qv28","RUSTSEC-2026-0349"],"summary":"rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share","details":"## Summary\n\nThe client records the server-selected key-exchange group per server name when it processes the ServerHello, before the server is authenticated. A network attacker can answer one connection attempt for a target name with a ServerHello that selects X25519 and close the connection. Later ClientHellos for that name carry one X25519 share while supported_groups still lists X25519MLKEM768 first. If the server accepts that share instead of sending a HelloRetryRequest, the handshake completes with classical key exchange only and no error.\n\nAn attacker that answers one connection attempt for the target name with a ServerHello selecting X25519 changes every later ClientHello of that client for that name, for as long as the entry stays in the store. No certificate or completed handshake is needed: it parses the ClientHello, sends the ServerHello, and closes.\n\nTLS 1.3 transcript binding stops an on-path attacker from editing the ClientHello of one connection. It does not stop the attacker from steering the client's prediction state beforehand, because that state is written from an unauthenticated message.\n\n## What does not trigger it\n\n- Servers that send a HelloRetryRequest. The connection stays hybrid and costs one extra round trip.\n- A client configuration with resumption disabled: nothing is stored.\n- A different server name: the record is per name.\n\n## Impact\n\nIf the genuine server picks the group for which a share is present, instead of sending a HelloRetryRequest for its preferred hybrid group, the handshake completes with classical key exchange only, between two peers that both support the hybrid group. No error is raised. The confidentiality of recorded sessions against a future quantum adversary is lost for those connections (harvest now, decrypt later). There is no key compromise and no authentication bypass.\n\nNote that this behaviour is discussed at length in [draft-ietf-tls-key-share-prediction](https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations) so the actual security impact is largely down to a server policy decision.","categories":["Libraries & packages"],"product":"rustls","vendor":"","ecosystem":"rust","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:08:57Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"rust","name":"rustls"},"range":"< 0.23.46"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:08:57Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"rust","name":"rustls"},"range":">= 0.24.0-dev.1, < 0.24.0-dev.2"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:15:05.340347056Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"rustls","ecosystem":"crates.io","purl":"pkg:cargo/rustls"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.46"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:15:05.340347056Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"rustls","ecosystem":"crates.io","purl":"pkg:cargo/rustls"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.24.0-dev.1"},{"fixed":"0.24.0-dev.2"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:08:57Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"rust","name":"rustls"},"version":"0.23.46"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:08:57Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"rust","name":"rustls"},"version":"0.24.0-dev.2"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:15:05.340347056Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"rustls","ecosystem":"crates.io","purl":"pkg:cargo/rustls"},"version":"0.23.46"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28","source_modified_at":"2026-10-27T16:15:05.340347056Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"rustls","ecosystem":"crates.io","purl":"pkg:cargo/rustls"},"version":"0.24.0-dev.2"}],"cvss":3.7,"severity":"Low","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-27T16:08:54Z","modified_at":"2026-10-27T16:15:05.340347056Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T16:08:57Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T16:15:05.340347056Z"}],"sources":["GitHub Advisory Database","OSV"],"references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-w44r-93j7-qv28","source":"GitHub Advisory Database"},{"url":"https://github.com/rustls/rustls/pull/3355","source":"GitHub Advisory Database"},{"url":"https://github.com/rustls/rustls/commit/8fa0dc5d517a63411ad1e528249bdf5b098ae5e4","source":"GitHub Advisory Database"},{"url":"https://github.com/rustls/rustls/commit/f04804fa13341a9b1dc02b5d1dd8a746f2c4b7fb","source":"GitHub Advisory Database"},{"url":"https://github.com/rustls/rustls/releases/tag/v/0.23.46","source":"GitHub Advisory Database"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0349.html","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-w44r-93j7-qv28","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T16:15:05.340347056Z","content_hash":"5713cb5101cb25fe2e58b3b65965216ded01ce65a986de017da873e14a4aa16c"}}
