Repository navigation
fix(deps): move curve25519-dalek 5 to 5.1.0, and ignore RUSTSEC-2026-0620 for 4.1.3 - #3880
Merged
Merged
Conversation
…0620 for 4.1.3 RUSTSEC-2026-0620 (AVX-512 backend miscomputes scalar multiplication) fails cargo-deny on every PR. The 5.x copy moves to 5.1.0, the fix. 4.1.3 stays, via boringtun 0.7.1 -> x25519-dalek 2.0.1, and no release of either moves it. deny.toml ignores the advisory, with the reason, until #3879. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA
Member
Author
|
/arch-review |
Contributor
Contributor
|
Approved: no findings at Nothing to do. Clobber: none. |
mitodrummer
approved these changes
Nov 29, 2026
mitodrummer
enabled auto-merge
November 29, 2026 17:42
Member
Author
|
/arch-review |
This was referenced Nov 29, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RUSTSEC-2026-0620 is an AVX-512 backend bug: curve25519-dalek 1.1.0–5.0.0 can miscompute scalar multiplication on an attacker-chosen point. It fails
cargo-denyon every PR (for example #3875). main's last green run is from before the advisory.Change
Two copies are in
Cargo.lock:cargo update -p curve25519-dalek@5.0.0 --precise 5.1.0. OnlyCargo.lockchanges.deny.tomlignores the advisory, with the reason in a comment:x25519-dalekis unaffected."avx512ifmaandavx512vl". Every shipped build uses the pinned stable toolchain (rust-toolchain.toml, 1.99.1). The only nightly jobs are the miri and fuzz jobs innightly-tests, and they ship nothing.#3879 (should-have) tracks the removal of the ignore once boringtun moves to x25519-dalek 3.
Verification
just deny(cargo-deny 0.22.2):advisories ok, bans ok, licenses ok, sources ok. The only advisory warning is the staleRUSTSEC-2026-0009ignore, which was there before and is not touched.🤖 Generated with Claude Code
https://claude.ai/code/session_016CYvTvep9ZaSf5pJMB2hQA
Summary by CodeRabbit