Skip to content

Fix crypto-bigint timing vulnerability - #649

Open
zmanian wants to merge 1 commit into
str4d:mainfrom
zmanian:fix/rustsec-2026-0387
Open

zmanian wants to merge 1 commit into
str4d:mainfrom
zmanian:fix/rustsec-2026-0387

Conversation

@zmanian

@zmanian zmanian commented Oct 24, 2026

Copy link
Copy Markdown

Summary

  • update crypto-bigint from 0.7.5 to 0.7.6 in the workspace and both fuzz lockfiles
  • update the corresponding ctutils dependency from 0.4.2 to 0.4.5
  • raise the workspace MSRV from Rust 1.85 to 1.87, the minimum required by the patched crates
  • update the existing cargo-vet exemptions and unreleased MSRV documentation

This is a focused mitigation for RUSTSEC-2026-0387 and RUSTSEC-2026-0385. It leaves source APIs and CI coverage unchanged.

PR #648 also contains these updates as part of a broader dependency refresh. This PR is offered as a narrow alternative with a smaller review surface and a lower MSRV increase.

Verification

  • cargo +1.87.0 check --workspace --locked
  • cargo +1.87.0 test --workspace --locked
  • strict Rust 1.87 clippy using the existing CI feature matrix
  • cargo +1.87.0 fmt --all -- --check
  • both fuzz workspaces checked with RUSTFLAGS='--cfg fuzzing'
  • cargo vet --locked: 109 fully audited, 26 partially audited, 247 exempted
  • cargo tree --locked -i crypto-bigint resolves only crypto-bigint 0.7.6
  • all three lockfiles no longer report RUSTSEC-2026-0387

The root audit still reports unrelated pre-existing advisories in quick-xml, rsa, and zip; the two fuzz lockfiles audit cleanly.

YvanY0 added a commit to YvanY0/guisu that referenced this pull request Oct 29, 2026
- deny.toml: drop the stale RUSTSEC-2026-0173 ignore (proc-macro-error2 is
  no longer in the dependency tree) and ignore RUSTSEC-2026-0374
  (basic-toml, unmaintained, no replacement) and RUSTSEC-2026-0387
  (crypto-bigint timing, blocked by age's p256 ^0.13 pin; fixed upstream
  in str4d/rage#649, awaiting release).
- Cargo.lock: bump libz-sys 1.1.29 -> 1.1.31 for RUSTSEC-2026-0418.

Signed-off-by: Yihuang Yu <yuyihuang@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant