RUSTSEC-2026-0387: Multiple timing variability issues in operations intended to be constant-time

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

Ninguém assumiu esta issue ainda.

Avaliação

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

Direção de pesquisa

The issue describes a security advisory for crypto-bigint and points to the upstream pull request and advisory page; it names no files or tests in this repository. Read those references first to understand the affected operations and upgrade guidance. Done would mean identifying and addressing whether numtracker uses the affected package version; the issue does not specify a concrete change or validation target.

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

Descrição

Multiple timing variability issues in operations intended to be constant-time

Details
Package crypto-bigint
Version 0.5.5
URL https://github.com/RustCrypto/crypto-bigint/pull/1365
Date 2026-10-23
Patched versions >=0.7.6

Summary

Several operations intended to be constant-time could execute secret-dependent
branches, depending on the compiler and target CPU. These include subtraction,
zero counting, division, and Montgomery multiplication.

Additionally, UintRef equality could terminate at the first unequal limb,
and BoxedMontyForm::invert branched on whether an inverse exists.

Impact

Applications using affected operations on secret integers may leak information
through timing or microarchitectural side channels. This includes information
about intermediate arithmetic values, matching limbs, and invertibility.

Such leakage could potentially enable recovery of cryptographic secrets.
Practical exploitability depends on the downstream algorithm, compiler, target
CPU, and an attacker's ability to observe the side channel.

Resolution

Upgrade to v0.7.6, which removes the identified branches, updates ctutils to
include its constant-time fixes, and adds BINSEC-based regression checks using
cargo checkct for arithmetic on multiple targets.

See advisory page for additional details.

Linguagem predominante
Rust
Estrelas
2
Forks
2
Merge médio
13h 13min
PRs com merge (30d)
5

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Sem 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 DiamondLightSource/numtracker

Todas as issues de DiamondLightSource/numtracker

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.