Repository navigation
Description
Advisory
RUSTSEC-2026-0387: several crypto-bigint operations intended to be constant-time can compile to secret-dependent branches, depending on the compiler and target CPU (subtraction, zero counting, division, Montgomery multiplication). The fix ships only in crypto-bigint >= 0.7.6. There is no 0.5.x backport.
How we pull it in
crypto-bigint 0.5.5 <- elliptic-curve 0.13.8 <- k256 0.13.4 <- alloy-signer 2.5.0 / alloy-signer-local 2.5.0 / alloy-primitives 1.7.3 <- alloy. Every workspace crate that takes alloy with the signers feature reaches it: cli, client, common, incentive, node, sponsord, sponsord-core, e2e.
Why it is ignored for now
No release fixes it for us:
cargo update -p crypto-bigintcannot help: 0.5.5 is the last 0.5 release andelliptic-curve 0.13requires^0.5.- The latest alloy (
alloy-signer/alloy-signer-local2.5.0,alloy-primitives1.7.3) requiresk256 ^0.13.k256 0.14(onelliptic-curve 0.14->crypto-bigint 0.7) is out, but the alloy migration to it is an open, breaking PR: chore(crates/primitives): migrate to new versions ofrandandk256alloy-rs/core#1147. - alloy itself ignores this ID in its own
deny.toml(chore(deps): fix cargo deny advisories alloy-rs/alloy#4456) for the same reason.
The ignore entry in deny.toml is not a "does not affect us" claim. k256 0.13 stores every secp256k1 scalar as a crypto-bigint U256 and does scalar add / subtract / negate and the < n range check with it, so the signing key and the z + r*d term of every ECDSA signature go through crypto-bigint 0.5. Scalar multiplication, inversion, and all field and point arithmetic are k256 code. Every PrivateKeySigner signature takes this path (payment vouchers, EIP-712 capabilities, probe and stream slash_sig, transactions), and a remote peer can make a node sign through cdn/probe/v1 and cdn/client/v1. The remote peer sees signing time only through QUIC and scheduler jitter, and whether our builds contain any such branch is not verified.
Done when
- An alloy release depends on
k256 0.14(watch chore(crates/primitives): migrate to new versions ofrandandk256alloy-rs/core#1147 and the nextalloy-signerrelease). - The workspace moves to that alloy release.
cargo tree -i [email protected]reports nothing, andcargo deny check advisoriespasses with theRUSTSEC-2026-0387entry removed fromdeny.toml(cargo-deny reportsadvisory-not-detectedif the entry stays).
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity