You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every PR's rust CI check now fails at the cargo-deny advisories step, before fmt/clippy/test run:
RUSTSEC-2026-0620 — "Scalar Multiplication Arithmetic Bug in AVX-512 Backend", curve25519-dalek 4.1.3 in Cargo.lock (line 44), via ed25519-dalek 2.2.0 (kharon-cli, kharond). Deny output: advisories FAILED, bans/licenses/sources ok; "1 dependent has version requirements that preclude updating: ed25519-dalek = 2.2.0 requires curve25519-dalek ^4".
Evidence it is not PR-caused: PR #423's run 46406494340 (job 141806090301) fails on exactly this advisory; #423 touches no Cargo.*/deny.toml files; master's last ci run (bcfc9b4, 2026-11-28) was green and predates the advisory. Any fresh CI run on master would hit the same failure, and fmt/clippy/test are skipped behind it, so CI currently gives no code signal and, per the team's CI-is-the-arbiter rule, merges are blocked — including M4's #393/#395 when their PRs open.
Options:
Add a justified ignore in deny.toml following the RUSTSEC-2023-0071 precedent: for 4.x the AVX-512 backend is only selected when compiled on nightly with the relevant target features present at runtime; kharon builds on stable (CI: dtolnay/rust-toolchain@stable), so the buggy backend is never compiled or selected. The advisory's own worst case for ed25519-dalek is a valid signature appearing invalid — no forgery path.
Bump curve25519-dalek once a fixed 4.x release exists that ed25519-dalek 2.2.0 accepts, and drop any interim ignore then.
Needs a team call on which (or both in sequence). Not a defect in #423 — flagged there in review so its red check isn't mistaken for one.
Answer to Lothrop's question (asked in chat, 2026-11-30): is there any reason not to bump to a good version?
Checked against primary sources:
RUSTSEC-2026-0620 (advisory-db, dated 2026-11-29): patched only in curve25519-dalek >= 5.1.0. No fixed 4.x exists — 4.2.0 remains inside the affected 1.1.0–5.0.0 range. For 4.0.0–4.1.3 the buggy AVX-512 backend is reachable only when compiled on nightly; kharon's CI and release workflows are stable (dtolnay/rust-toolchain@stable), and the advisory's own workaround for 4.x is "compile on stable." Worst case for ed25519-dalek: a valid signature under an attacker-chosen key verifies as invalid — no forgery path.
A lockfile-only bump is impossible.ed25519-dalek 2.2.0 requires curve25519-dalek ^4 (cargo-deny's own output), and cargo update -p curve25519-dalek and -p ed25519-dalek both move 0 packages.
The real bump is ed25519-dalek 2 → 3 in crates/kharon-cli/Cargo.toml and crates/kharond/Cargo.toml. Verified on a scratch copy of master bcfc9b4: resolution lands on ed25519-dalek 3.0.0 → curve25519-dalek 5.1.0 (11 packages turn over: signature 3.0.0, digest 0.11, sha2 0.11, …), and cargo check -p kharon-cli -p kharond passes with no source changes — kharon's dalek surface is SigningKey/VerifyingKey/Signature/Signer/Verifier in the audit checkpoint code (6 files), all stable across the bump. (Feasibility evidence only; CI remains the arbiter on the PR itself.)
Recommendation: bump, don't ignore. Two manifest lines plus the lockfile removes the advisory outright instead of parking a second ignore next to RUSTSEC-2023-0071, and it unblocks CI for all of M4. The justified ignore stays as the fallback if the bump PR hits trouble in full CI.
Activity
cycle-five-muse commentedon Nov 30, 2026
Answer to Lothrop's question (asked in chat, 2026-11-30): is there any reason not to bump to a good version?
Checked against primary sources:
curve25519-dalek >= 5.1.0. No fixed 4.x exists — 4.2.0 remains inside the affected 1.1.0–5.0.0 range. For 4.0.0–4.1.3 the buggy AVX-512 backend is reachable only when compiled on nightly; kharon's CI and release workflows are stable (dtolnay/rust-toolchain@stable), and the advisory's own workaround for 4.x is "compile on stable." Worst case fored25519-dalek: a valid signature under an attacker-chosen key verifies as invalid — no forgery path.ed25519-dalek 2.2.0requirescurve25519-dalek ^4(cargo-deny's own output), andcargo update -p curve25519-dalekand-p ed25519-dalekboth move 0 packages.ed25519-dalek2 → 3 incrates/kharon-cli/Cargo.tomlandcrates/kharond/Cargo.toml. Verified on a scratch copy of masterbcfc9b4: resolution lands on ed25519-dalek 3.0.0 → curve25519-dalek 5.1.0 (11 packages turn over: signature 3.0.0, digest 0.11, sha2 0.11, …), andcargo check -p kharon-cli -p kharondpasses with no source changes — kharon's dalek surface is SigningKey/VerifyingKey/Signature/Signer/Verifier in the audit checkpoint code (6 files), all stable across the bump. (Feasibility evidence only; CI remains the arbiter on the PR itself.)Recommendation: bump, don't ignore. Two manifest lines plus the lockfile removes the advisory outright instead of parking a second ignore next to RUSTSEC-2023-0071, and it unblocks CI for all of M4. The justified ignore stays as the fallback if the bump PR hits trouble in full CI.
— cycle-five-muse[bot] (main session)
chore(deps): bump ed25519-dalek to 3 for RUSTSEC-2026-0620 (#424) (#425)