Repository navigation
chore(deps): fix RUSTSEC advisories and ignore unfixable crypto-bigint RUSTSEC-2026-0387 - #51
Merged
Merged
Conversation
… advisories Lockfile-only updates: - `rustls-webpki` 0.103.15 -> 0.103.16: RUSTSEC-2026-0382 - `webpki-roots` 1.0.9 -> 1.0.11: RUSTSEC-2026-0381 - `webpki-root-certs` 1.0.9 -> 1.0.11: RUSTSEC-2026-0383 - `ctutils` 0.4.2 -> 0.4.6: RUSTSEC-2026-0385
crypto-bigint 0.5.5 comes in through elliptic-curve 0.13 and k256 0.13, which the latest alloy-signer and alloy-primitives still depend on. The fix is only in crypto-bigint 0.7.6, so no lockfile update can reach it. Add `.cargo/audit.toml` with the advisory ignored, and record how the crate gets in, what it exposes in the CLI and when to drop the entry.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merged
10 of 14 tasks
🔒 AI Security Review (claude-opus-5-5)✅ No security issues found. |
storopoli
commented
Oct 26, 2026
Merged
6 of 14 tasks
storopoli
added a commit
that referenced
this pull request
Nov 23, 2026
…ys RUSTSEC-2026-0459 (#67) ## Description `cargo audit` currently fails on `main` due to three newly published vulnerabilities (plus two fixable warnings): ### Lockfile-only fixes - `url` `2.5.8` → `2.5.9` (with `form_urlencoded` `1.2.2` → `1.2.3`): fixes `RUSTSEC-2026-0592` - `quinn-udp` `0.5.15` → `0.5.16`: fixes `RUSTSEC-2026-0538` - `rustix` `1.1.4` → `1.1.6`: clears unsoundness warning `RUSTSEC-2026-0486` - `async-executor` `1.14.0` → `1.14.1`: clears yanked crate warning ### Ignored unfixable advisory - `libsqlite3-sys` `0.28.0` (`RUSTSEC-2026-0459`, SQLite CVE-2026-119375, fixed in `>= 0.39.0` / `rusqlite >= 0.41.0`): pulled in via `rusqlite 0.31.0`, which is required by `bdk_chain 0.23.3` (and latest `0.23.4`, `rusqlite = "^0.31.0"` with `bundled`) through `bdk_wallet 3.2.0` (latest). Added to `.cargo/audit.toml` with exposure analysis and removal condition. ### Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update - [ ] Refactor - [ ] New or updated tests - [x] Dependency update - [x] Security fix ## Notes to Reviewers - `RUSTSEC-2026-0459` requires a local attacker to craft a SQLite database paired with a mismatched `-wal` file that the CLI opens; the CLI only opens its own local wallet database. - Mirrors the approach from #51 (`RUSTSEC-2026-0387`). ## Checklist - [x] I have performed a self-review of my code. - [x] I have commented my code where necessary. - [ ] I have updated the documentation if needed. - [x] My changes do not introduce new warnings. - [ ] I have added tests that prove my changes are effective or that my feature works. - [x] New and existing tests pass with my changes. ## Related Issues None.
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.
Description
cargo auditnow fails onmain. Five advisories published since its last run on 2026-10-19 hit the current lockfile. This PR clears all five, so the security workflow passes without waiting on #50.Four have fixed releases, so this bumps them in the lockfile:
rustls-webpkiwebpki-rootswebpki-root-certsctutilscrypto-bigint0.5.5 (RUSTSEC-2026-0387) can't be fixed from here. The fix exists only incrypto-bigint0.7.6. The latestalloy-signer(2.5.0) andalloy-primitives(1.7.3) still requirek256/elliptic-curve0.13, which pincrypto-bigint0.5. This PR adds.cargo/audit.tomlwith the advisory ignored. The comment there records how the crate gets in, what it exposes and when to remove the entry.What it exposes:
k2560.13 does its scalar arithmetic withcrypto-bigint. EVM signing through thePrivateKeySignerfromSeed::get_alpen_wallettherefore runs the private key through the affected subtraction code. An attacker would need to watch timing or microarchitectural state on the user's machine while the CLI signs. Bitcoin signing uses libsecp256k1 and doesn't touchcrypto-bigint.Upstream,
alloy-rs/alloy#4445tracks the advisory.alloy-rs/core#1147movesalloy-primitivestok2560.14, butalloy-signerneeds the same bump before the entry can go.Type of Change
Notes to Reviewers
main's lockfile withcargo update --precise, which leaves out thewindows-syschurn from dependabot's resolution in chore(deps): bump rust-dependencies and migrate signing to rust-bitcoin for bdk_wallet 3.2 #50. A test merge of this branch into chore(deps): bump rust-dependencies and migrate signing to rust-bitcoin for bdk_wallet 3.2 #50 is clean, and the result differs from chore(deps): bump rust-dependencies and migrate signing to rust-bitcoin for bdk_wallet 3.2 #50 only by.cargo/audit.toml, so either PR can land first.cargo auditpasses on this branch and on the merge with chore(deps): bump rust-dependencies and migrate signing to rust-bitcoin for bdk_wallet 3.2 #50.cargo audit -D warnings(continue-on-errorin CI) still lists the existing unmaintained-crate warnings and the informational tokio RUSTSEC-2026-0386. chore(deps): bump rust-dependencies and migrate signing to rust-bitcoin for bdk_wallet 3.2 #50's tokio bump to 1.54.1 clears the tokio one.Checklist
Related Issues
Related to #50.