Skip to content

deny.toml: drop the RUSTSEC-2026-0387 (crypto-bigint 0.5) ignore once alloy moves to k256 0.14 #2796

Closed

Description

@yigitdot

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:

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

  1. An alloy release depends on k256 0.14 (watch chore(crates/primitives): migrate to new versions of rand and k256 alloy-rs/core#1147 and the next alloy-signer release).
  2. The workspace moves to that alloy release.
  3. cargo tree -i [email protected] reports nothing, and cargo deny check advisories passes with the RUSTSEC-2026-0387 entry removed from deny.toml (cargo-deny reports advisory-not-detected if the entry stays).

Activity

  1. added
    kind:security
    status:blocked
    dependencies
    on Oct 30, 2026
  2. moved this from Backlog to Done in deCDNon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencieskind:securitystatus:blocked

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions