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

Offen
#324 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
1/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
backend, security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
2
Forks
2
Ø Merge
13 Std. 13 Min.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DiamondLightSource/numtracker

Alle Issues in DiamondLightSource/numtracker

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.