Repository navigation
Move curve25519-dalek to 5.1.0 and allow RUSTSEC-2026-0620 on 4.1.3 - #46
Merged
Merged
Conversation
RustSec published RUSTSEC-2026-0620 on 2026-11-29. curve25519-dalek's AVX-512 backend can compute wrong scalar multiplications on an attacker-chosen point. The advisory covers 1.1.0 through 5.0.0, so cargo deny failed the dependency-audit job on main. The workspace's 5.x copy, through ed25519-dalek 3 and x25519-dalek 3, moves to 5.1.0, which fixes the bug. The lockfile change touches only curve25519-dalek. 4.1.3 has no fixed release. age 0.11 needs x25519-dalek 2, and local-core and sync-key-envelope pin ed25519-dalek 2.2, so it stays. 4.1.x builds the AVX-512 backend only on a nightly rustc, and every build uses the stable toolchain in rust-toolchain.toml, so deny.toml now ignores the advisory with that reason. The collaboration sandbox's guest and fuzz lockfiles keep 5.0.0: moving the guest's crates would change the module that sync-v2-collaboration.json pins by hash. 5.0.0 builds the backend only under a cfg or target feature that no build sets, and the guest targets wasm32.
account-web's notice must name the curve25519-dalek release that Cargo.lock pins, and its notices test failed on 5.0.0. 5.1.0's license also adds a copyright line for The Beneficial AI Foundation, which the BSD license asks binaries to reproduce, so the notice now carries it.
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 published RUSTSEC-2026-0620 on 2026-11-29, and
cargo deny checknow fails the dependency-audit job on main. The bug sits in curve25519-dalek's AVX-512 backend: it can compute wrong scalar multiplications on an attacker-chosen point. The advisory covers 1.1.0 through 5.0.0.Changes
THIRD_PARTY_NOTICES.txtnames curve25519-dalek 5.1.0 and adds the copyright line for The Beneficial AI Foundation that 5.1.0's BSD license gained.deny.tomlignores the advisory for the copies that stay behind:rust-toolchain.toml.sync-v2-collaboration.jsonpins by hash. 5.0.0 builds the backend only under a cfg or target feature that no build sets, and the guest targets wasm32.Checks run locally
cargo deny checkscripts/check-collab-sandbox.sh auditscripts/check-sync-protocol.shcargo check -p account-web --target wasm32-unknown-unknowncargo test -p sync-protocol -p sync-key-envelope -p account-web