Repository navigation
build(deps): bump quinn-proto to 0.11.19 for RustSec advisories - #1605
Conversation
quinn-proto is locked at 0.11.14 in Cargo.lock and openab-agent/Cargo.lock and at 0.11.16 in operator/Cargo.lock. RustSec lists seven advisories against each of those versions. 0.11.19 fixes all of them. The crate enters the lockfiles only as an optional dependency of reqwest's `http3` feature, which nothing in the repo enables, so no shipped binary compiles it. Lockfile-based scanners (cargo audit, Dependabot, repository scans) still report it. Produced with `cargo update -p quinn-proto --precise 0.11.19` in each workspace. No Cargo.toml changes. quinn-proto 0.11.19 moves to rand 0.10, which adds rand_pcg 0.10.2 and lets openab-agent drop rand/rand_chacha/ rand_core 0.9. Cargo.lock also picks up the openab 0.10.0 -> 0.10.1 self-version that the v0.10.1 release left out of the lockfile.
This comment has been minimized.
This comment has been minimized.
|
Note LGTM ✅ - Lockfile-only bump that moves every What This PR DoesThree lockfiles resolve a How It Works
Findings
No 🔴 or 🟡 findings. Finding Details🟢 F1: Advisory coverageChecked against the
Any target below 0.11.19 would leave 0523 and 0524 open, so 0.11.19 is the minimum correct version. 🟢 F3: Changes besides
|
What problem does this solve?
Three lockfiles resolve a
quinn-protoversion that RustSec lists as vulnerable:Cargo.lockopenab-agent/Cargo.lockoperator/Cargo.lockagy-acp/Cargo.lockandcrates/platform-schema/Cargo.lockdo not containquinn-proto.quinn-protois in the lockfiles only becausereqwest0.12/0.13 declaresquinnas an optional dependency of itshttp3feature. Nothing in this repository enableshttp3(orreqwest_unstable), so no shipped binary compilesquinn-proto. I checked this withcargo tree -i quinn-proto --target x86_64-unknown-linux-gnu, which prints nothing for the default,unifiedand--all-featuresbuilds. Even so, lockfile-based tooling (cargo audit, Dependabot, repository scanners) reports these advisories against the repo. A lockfile-only bump clears them and removes the risk ifhttp3is ever enabled.Closes #1604
Discord Discussion URL: https://discord.com/channels/1491295327620169908/1491365158868619404/1572307225706234026
Review Contract
Goal
All three lockfiles resolve
quinn-proto0.11.19, andcargo auditno longer reports anyquinn-protoadvisory against them.Non-goals
Cargo.toml. The bump is lockfile-only.cargo auditreports (for examplerustls,rustls-webpki,h2,quick-xml,rmcp). Those are separate dependency bumps with their own review surface.quinn-udpRUSTSEC-2026-0538 (0.5.14 / 0.5.15 → fixed in 0.5.16). It affects only Apple/BSD-family receive paths, not the Linux release images, and likequinn-protoit is not compiled in. Left for a follow-up to keep this diff to one crate.cargo audit/cargo denyto CI.Accepted Residual Risks
quinn-proto0.11.19 depends onrand0.10 instead of 0.9. Becausequinn-protois not compiled into any binary, this does not change what ships. Ifhttp3is enabled later, it builds against the newerrand. Recovery is reverting this commit.Cargo.lockalso syncs theopenabpackage from 0.10.0 to 0.10.1.Cargo.tomlwas already 0.10.1 after the v0.10.1 release, but the lockfile was not updated, socargo … --lockedonmainfails today. Anycargocommand without--lockedalready makes this edit, so it is not a behaviour change.Acceptance Criteria
Cargo.lock,openab-agent/Cargo.lockandoperator/Cargo.lockresolvequinn-proto0.11.19.quinn-proto, the only changes are:rand_pcg0.10.2 added (all three),openab-agentdropping the now-unusedrand/rand_chacha/rand_core0.9 and gaininggetrandom0.4.2's wasm32-onlyjs-sys/wasm-bindgenedges, and theopenab0.10.0 → 0.10.1 self-version sync inCargo.lock.cargo auditreports noquinn-protoadvisory for any of the three lockfiles and no new advisory of any kind.--locked(see Validation).Follow-ups
quinn-udp0.5.16 for RUSTSEC-2026-0538 (same lockfile-only pattern).cargo auditfindings, starting with therustls/rustls-webpkiadvisories, which do reach shipped binaries.cargo auditorcargo denyin CI, already listed as a follow-up in fix(deps): bump zip 2.4.2 -> 9.1.2 for zip2 CVEs #1580.At a Glance
Advisory coverage
Sources:
rustsec/advisory-dbcrates/quinn-proto/andquinn-rs/quinnsecurity advisories, checked 2026-11-17. "Affected" is per the RustSec version ranges thatcargo audituses.Prior Art & Industry Research
Not applicable. This is a lockfile-only security dependency bump with no design change. It follows the same pattern as #1580.
Proposed Solution
In each affected workspace (repo root,
openab-agent/,operator/):No other
cargo updatewas run, so no unrelated crate moves.Why this approach?
quinn-protois transitive throughquinn0.11 (^0.11requirement), so no manifest needs to change.Alternatives Considered
quinnas well (0.11.9 / 0.11.11 → 0.11.12): not needed.quinn0.11.9 acceptsquinn-proto0.11.19, andquinnitself has no open advisory.cargo update: it would also clear other advisories but would move many unrelated crates in a security PR. Kept out of scope.Validation
macOS arm64, rustc 1.100.0 (stable, matching CI's
dtolnay/rust-toolchainstable), baseb6f0f1cf(v0.10.1).Every command runs with
--locked, so it fails if the lockfile is inconsistent with the manifests. The commands mirrorci.ymlandci-openab-agent.yml.Repo root:
cargo check --workspace: passcargo clippy --workspace -- -D warnings: cleancargo clippy --workspace --features unified -- -D warnings: cleancargo test --workspace: 1479 passed, 0 failed (*)cargo test -p openab-gateway --features acp: 419 passed, 0 failedcargo test -p openab-core --features acp-mcp: 715 passed, 0 failed (*)cargo test --features acp: 42 passed, 0 failedcargo clippy -p openab-cp --no-default-features --all-targets -- -D warnings: cleancargo test -p openab-cp --no-default-features: 16 passed, 0 failedcargo build --features unified: passoperator/:cargo check,cargo clippy -- -D warnings,cargo test,cargo build: all pass.openab-agent/:cargo fmt --check,cargo check,cargo clippy -- -D warnings,cargo test,cargo build --release: all pass.(*) Run with
--skip secrets::tests::resolve_exec_nonzero_exit. That test runs/bin/false, which does not exist on macOS (it lives at/usr/bin/falsethere), so it fails the same way on unmodifiedmainon macOS. It is unrelated to this change, and CI runs on Linux.Not compiled in: after all of the builds above, the three
target/directories contain zeroquinn*artifacts, alongside 53–174reqwestand 133–438rustlsartifacts.cargo audit(cargo-audit 0.23.0, advisory DB fetched 2026-11-17):Cargo.lockquinn-proto0.11.14openab-agent/Cargo.lockquinn-proto0.11.14operator/Cargo.lockquinn-proto0.11.16No advisory was added. The only remaining
quinn*finding isquinn-udpRUSTSEC-2026-0538 (see Non-goals).