RUSTSEC-2026-0387: Multiple timing variability issues in operations intended to be constant-time
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 1/100
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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus DiamondLightSource/numtracker
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 70/100
DiamondLightSource/numtracker#309 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
DiamondLightSource/numtracker#278 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
DiamondLightSource/numtracker#329 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
DiamondLightSource/numtracker#326 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
DiamondLightSource/numtracker#325 ·
Alle Issues in DiamondLightSource/numtracker
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
RustCrypto/utils#1597 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
max-sixty/worktrunk#4727 · 7 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
follow-up
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
carrick-sh/carrick#1859 ·
Maintainer antworten meist innerhalb von 1 Tag