RUSTSEC-2026-0349: Unauthenticated ServerHello can downgrade later connections to classical key exchange

Aberta
#3,486 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
backend, security

Direção de pesquisa

The report identifies rustls 0.23.41 and links the fix in rustls PR #3355. Start by reading that pull request and the key share prediction code it changes; trace how ServerHello group selection is stored and later used for ClientHellos. Done means unauthenticated ServerHello messages can no longer persist a downgraded key exchange choice, with regression coverage for the described sequence.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Details
Package rustls
Version 0.23.41
URL https://github.com/rustls/rustls/pull/3355
Patched Versions >=0.23.46
Aliases CVE-2026-123611, GHSA-w44r-93j7-qv28

The client recorded the server-selected key exchange group for each server
name when processing the ServerHello, before the server was authenticated.
This record is used to predict which key share to send in future ClientHellos
to that server name.

A network attacker can answer one connection attempt with a ServerHello
selecting X25519, and then close the connection. Later ClientHellos for that
name carry only an X25519 key share, while supported_groups still lists
X25519MLKEM768 first. If the genuine server accepts that share rather than
sending a HelloRetryRequest for its preferred hybrid group, the handshake
completes with classical-only key exchange and no error. This persists for as
long as the entry stays in the client's session store.

The impact is loss of post-quantum confidentiality for affected connections
("harvest now, decrypt later"). There is no key compromise and no
authentication bypass.

The following are not affected:

  • connections to servers which send a HelloRetryRequest for their preferred group,
  • clients with resumption disabled (as nothing is stored), and
  • other server names.

This behaviour is discussed in
draft-ietf-tls-key-share-prediction,
so the practical impact depends largely on server policy.

Linguagem predominante
Go
Estrelas
362
Forks
295
Merge médio
9h 29min
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de evstack/ev-node

Todas as issues de evstack/ev-node

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.