RUSTSEC-2026-0387: Multiple timing variability issues in operations intended to be constant-time
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 1/100
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
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de DiamondLightSource/numtracker
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 70/100
DiamondLightSource/numtracker#309 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
DiamondLightSource/numtracker#278 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 45/100
DiamondLightSource/numtracker#329 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 20/100
DiamondLightSource/numtracker#326 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
DiamondLightSource/numtracker#325 ·
Todas as issues de DiamondLightSource/numtracker
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
RustCrypto/utils#1597 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Non-`main` default branchesAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
max-sixty/worktrunk#4727 · 7 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
carrick-sh/carrick#1859 ·
Mantenedores costumam responder em até 1 dia