Skip to content

Bump webpki crates to clear the RustSec audit - #19308

Merged
fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_webpki_audit
Oct 21, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_webpki_audit

Conversation

@fdncred

@fdncred fdncred commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Security audit job fails on every PR that touches Cargo.toml or Cargo.lock (for example #19306). The advisory database now flags three crates for CVE-2026-111943. Their certificate checks can accept chains through emSign intermediates whose private keys have leaked. Each crate has a patched release, so this PR moves all three to it:

Crate Old New Advisory Pulled in by
rustls-webpki 0.103.15 0.103.16 RUSTSEC-2026-0382 rustls (all TLS connections)
webpki-roots 1.0.9 1.0.10 RUSTSEC-2026-0381 nu-command (direct workspace dependency)
webpki-root-certs 1.0.6 1.0.10 RUSTSEC-2026-0383 rustls-platform-verifier (wasm32 only)

webpki-roots is a direct workspace dependency, so Cargo.toml now requires the patched 1.0.10 instead of only pinning it in the lockfile. The other two crates are transitive, so only Cargo.lock changes for them (cargo update -p rustls-webpki -p webpki-roots -p webpki-root-certs). Nothing else in the lockfile moves.

User-facing changes (Release notes)

  • Bumped rustls-webpki, webpki-roots and webpki-root-certs for CVE-2026-111943 (distrusted emSign intermediates).

Additional notes

  • cargo audit 0.22.2 (advisory database of 2026-10-21) on main's Cargo.lock: 3 vulnerabilities, exit 1. On this branch: 0 vulnerabilities, exit 0.
  • cargo audit still warns that bincode (RUSTSEC-2025-0141) and yaml-rust (RUSTSEC-2024-0320) are unmaintained, the same as on main. These warnings are informational, so the job does not fail on them.
  • CI's clippy step (clippy --workspace --all-targets --profile ci -- -D warnings with .cargo/ci.toml, plugins included) and cargo nuclippy both pass on macOS.

@fdncred
fdncred merged commit 965ad78 into nushell:main Oct 21, 2026
13 checks passed
@fdncred
fdncred deleted the fix_webpki_audit branch October 21, 2026 11:24
@fdncred fdncred added the notes:hide Noted only in "Full Changelog" section label Oct 21, 2026
@github-actions github-actions Bot added this to the v0.117.0 milestone Oct 21, 2026
@zimbatm zimbatm mentioned this pull request Oct 21, 2026
4 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:hide Noted only in "Full Changelog" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant