RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication

Aberta
#467 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
40/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
security

Direção de pesquisa

The vulnerable crate is rustls 0.23.45, so start in Cargo.lock and the Cargo.toml that pulls it in. Run cargo tree -i rustls -e features to check whether the brotli feature is enabled anywhere in the graph. Then bump rustls to at least 0.23.46 with cargo update -p rustls and confirm with cargo audit. Done when the lockfile resolves to a patched version and the build and tests still pass.

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

Descrição

Brotli certificate decompression can allocate up to 1 GiB before authentication

Details
Package rustls
Version 0.23.45
URL https://github.com/rustls/rustls/pull/3297
Date 2026-10-14
Patched versions >=0.23.46
Unaffected versions <0.23.9

The built-in Brotli certificate decompressor (enabled by the non-default
brotli crate feature) bounded the size of the decompressed output, but
accepted a peer-selected history window. Brotli's large-window extension was
enabled, so a five-byte header could cause an allocation of 1 GiB. A peer can
abort a process whose allocator cannot satisfy that request.

No trusted certificate is required by the attacker. Affected configurations are:

  • clients that enable the brotli feature and connect to a malicious server, and
  • servers that enable the brotli feature and request client certificates.

Applications that do not enable the brotli feature are not affected.

See advisory page for additional details.

Linguagem predominante
Rust
Estrelas
11
Forks
5
Merge médio
1d 6h
PRs com merge (30d)
1

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

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 stackabletech/stackablectl

Todas as issues de stackabletech/stackablectl

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

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