Skip to content

Update TLS, QUIC, and tokio crates for RustSec advisories - #24

Merged
mzupan merged 1 commit into
mainfrom
fix/tls-advisories
Oct 28, 2026
Merged

mzupan merged 1 commit into
mainfrom
fix/tls-advisories

Conversation

@mzupan

@mzupan mzupan commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Why

The verify job fails on every PR, e.g. Dependabot #23 (run). cargo audit reports 11 vulnerabilities. They're already on main; #23 only bumps unrelated crates. Once those are fixed, cargo deny also fails on an unsound tokio advisory.

Changes (Cargo.lock only)

Crate From To Advisories
quinn-proto 0.11.16 0.11.19 RUSTSEC-2026-0338 to -0342 (5: frame-handling panics and memory-exhaustion bypasses)
rustls 0.23.45 0.23.46 RUSTSEC-2026-0346 to -0349 (4: Debug leaking secrets, ECH-rejection data leak, Brotli 1 GiB allocation, ServerHello downgrade)
rustls-webpki 0.103.15 0.103.16 RUSTSEC-2026-0382 (distrusted intermediates accepted)
webpki-roots 1.0.9 1.0.11 RUSTSEC-2026-0381 (distrusted emSign intermediates)
tokio 1.53.1 1.54.1 RUSTSEC-2026-0386 (unsound AsyncFd constructors; cargo deny error)
event-listener 5.4.1 5.4.2 RUSTSEC-2026-0221 (unsound; audit warning)
chacha20 0.10.1 0.10.2 0.10.1 was yanked

concurrent-queue drops out, since event-listener 5.4.2 no longer depends on it. No other package changes.

Testing (Rust 1.88.0, the pinned toolchain; same commands as verify)

  • cargo fmt --all -- --check: ok
  • cargo clippy --all-targets --all-features -- -D warnings: ok
  • cargo test --all-targets --all-features: 78 + 9 + 5 + 5 + 3 passed
  • cargo audit: 0 vulnerabilities, 0 warnings (was 11 vulnerabilities + 2 warnings)
  • cargo deny check … advisories bans licenses sources: advisories ok, bans ok, licenses ok, sources ok

Once this merges, Dependabot #23 needs a rebase (@dependabot rebase).

deny.toml still ignores RUSTSEC-2026-0002 and RUSTSEC-2026-0253 for lru via ratatui. cargo deny now reports them as "advisory not encountered", so those two ignores can be dropped in a follow-up.

cargo audit failed with 11 vulnerabilities in quinn-proto, rustls, rustls-webpki, and webpki-roots, and cargo deny failed on the unsound tokio AsyncFd constructors (RUSTSEC-2026-0386). Move each to its patched release, and replace the unsound event-listener 5.4.1 and the yanked chacha20 0.10.1. Cargo.lock only.
@mzupan
mzupan merged commit 8a6dbee into main Oct 28, 2026
5 checks passed
@mzupan
mzupan deleted the fix/tls-advisories branch October 28, 2026 13:18
@mzupan mzupan mentioned this pull request Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant