Skip to content

build(deps): bump quinn-proto to 0.11.19 for RustSec advisories - #1605

Merged
thepagent merged 1 commit into
openabdev:mainfrom
antigenius0910:build/bump-quinn-proto-0.11.19
Nov 17, 2026
Merged

thepagent merged 1 commit into
openabdev:mainfrom
antigenius0910:build/bump-quinn-proto-0.11.19

Conversation

@antigenius0910

Copy link
Copy Markdown
Contributor

What problem does this solve?

Three lockfiles resolve a quinn-proto version that RustSec lists as vulnerable:

Lockfile Before After
Cargo.lock 0.11.14 0.11.19
openab-agent/Cargo.lock 0.11.14 0.11.19
operator/Cargo.lock 0.11.16 0.11.19

agy-acp/Cargo.lock and crates/platform-schema/Cargo.lock do not contain quinn-proto.

quinn-proto is in the lockfiles only because reqwest 0.12/0.13 declares quinn as an optional dependency of its http3 feature. Nothing in this repository enables http3 (or reqwest_unstable), so no shipped binary compiles quinn-proto. I checked this with cargo tree -i quinn-proto --target x86_64-unknown-linux-gnu, which prints nothing for the default, unified and --all-features builds. 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 if http3 is ever enabled.

Closes #1604

Discord Discussion URL: https://discord.com/channels/1491295327620169908/1491365158868619404/1572307225706234026

Review Contract

Goal

All three lockfiles resolve quinn-proto 0.11.19, and cargo audit no longer reports any quinn-proto advisory against them.

Non-goals

  • Changing any Cargo.toml. The bump is lockfile-only.
  • Fixing the other RustSec advisories cargo audit reports (for example rustls, rustls-webpki, h2, quick-xml, rmcp). Those are separate dependency bumps with their own review surface.
  • quinn-udp RUSTSEC-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 like quinn-proto it is not compiled in. Left for a follow-up to keep this diff to one crate.
  • Adding cargo audit / cargo deny to CI.

Accepted Residual Risks

  • quinn-proto 0.11.19 depends on rand 0.10 instead of 0.9. Because quinn-proto is not compiled into any binary, this does not change what ships. If http3 is enabled later, it builds against the newer rand. Recovery is reverting this commit.
  • Cargo.lock also syncs the openab package from 0.10.0 to 0.10.1. Cargo.toml was already 0.10.1 after the v0.10.1 release, but the lockfile was not updated, so cargo … --locked on main fails today. Any cargo command without --locked already makes this edit, so it is not a behaviour change.

Acceptance Criteria

  • Cargo.lock, openab-agent/Cargo.lock and operator/Cargo.lock resolve quinn-proto 0.11.19.
  • The diff touches only those three lockfiles. Besides quinn-proto, the only changes are: rand_pcg 0.10.2 added (all three), openab-agent dropping the now-unused rand/rand_chacha/rand_core 0.9 and gaining getrandom 0.4.2's wasm32-only js-sys/wasm-bindgen edges, and the openab 0.10.0 → 0.10.1 self-version sync in Cargo.lock.
  • cargo audit reports no quinn-proto advisory for any of the three lockfiles and no new advisory of any kind.
  • The CI commands for each workspace pass locally with --locked (see Validation).
  • CI is green.

Follow-ups

  • quinn-udp 0.5.16 for RUSTSEC-2026-0538 (same lockfile-only pattern).
  • The remaining cargo audit findings, starting with the rustls / rustls-webpki advisories, which do reach shipped binaries.
  • cargo audit or cargo deny in 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

reqwest 0.12 / 0.13 ──(optional, feature "http3": not enabled)──> quinn 0.11 ──> quinn-proto
                                                                               0.11.14 / 0.11.16 -> 0.11.19
                                                                               (lockfile entry only; not compiled)

Advisory coverage

RustSec GHSA Summary Fixed in 0.11.14 (root, agent) 0.11.16 (operator)
RUSTSEC-2026-0185 (CVE-2026-25800) GHSA-4w2j-m93h-cj5j Unbounded out-of-order stream reassembly (memory exhaustion) 0.11.15 affected fixed
RUSTSEC-2026-0341 GHSA-qfwj-vfxf-92j2 Bypass of the reassembly guard added for 0185 0.11.17 not affected affected
RUSTSEC-2026-0339 GHSA-hmxj-32vh-65vr Unbounded pending connection-ID retirements 0.11.17 affected affected
RUSTSEC-2026-0342 GHSA-2hv7-gw8g-gpq5 Zero-length DATAGRAM frames bypass the receive buffer limit 0.11.17 affected affected
RUSTSEC-2026-0338 GHSA-465w-v9q3-7j98 Panic from zero-length STREAM frames during unordered reads 0.11.18 affected affected
RUSTSEC-2026-0340 GHSA-3g6h-r5qx-f6hq Panic from peer minimum ACK delay with ACK_FREQUENCY 0.11.18 affected affected
RUSTSEC-2026-0523 GHSA-53rm-773f-4q8c MAX_STREAM_DATA can open streams beyond the stream limit 0.11.19 affected affected
RUSTSEC-2026-0524 GHSA-wppq-2f6r-wfvm Long Retry token can panic or exhaust client memory 0.11.19 affected affected

Sources: rustsec/advisory-db crates/quinn-proto/ and quinn-rs/quinn security advisories, checked 2026-11-17. "Affected" is per the RustSec version ranges that cargo audit uses.

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/):

cargo update -p quinn-proto --precise 0.11.19

No other cargo update was run, so no unrelated crate moves.

Why this approach?

  • 0.11.19 rather than the minimum fix per advisory: 0.11.19 is the first release that clears every advisory in the table, including the two published on 2026-09-30.
  • Lockfile-only: quinn-proto is transitive through quinn 0.11 (^0.11 requirement), so no manifest needs to change.
  • All three lockfiles in one PR: they ship from the same release images and carry the same advisory set, so one review covers them.

Alternatives Considered

  • Bumping quinn as well (0.11.9 / 0.11.11 → 0.11.12): not needed. quinn 0.11.9 accepts quinn-proto 0.11.19, and quinn itself has no open advisory.
  • Leaving it because it is not compiled in: the advisories still fail lockfile-based audits for this repo and for downstream consumers, and the fix is a small lockfile-only diff.
  • A broad 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-toolchain stable), base b6f0f1cf (v0.10.1).

Every command runs with --locked, so it fails if the lockfile is inconsistent with the manifests. The commands mirror ci.yml and ci-openab-agent.yml.

Repo root:

  • cargo check --workspace: pass
  • cargo clippy --workspace -- -D warnings: clean
  • cargo clippy --workspace --features unified -- -D warnings: clean
  • cargo test --workspace: 1479 passed, 0 failed (*)
  • cargo test -p openab-gateway --features acp: 419 passed, 0 failed
  • cargo test -p openab-core --features acp-mcp: 715 passed, 0 failed (*)
  • cargo test --features acp: 42 passed, 0 failed
  • cargo clippy -p openab-cp --no-default-features --all-targets -- -D warnings: clean
  • cargo test -p openab-cp --no-default-features: 16 passed, 0 failed
  • cargo build --features unified: pass

operator/: 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/false there), so it fails the same way on unmodified main on 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 zero quinn* artifacts, alongside 53–174 reqwest and 133–438 rustls artifacts.

cargo audit (cargo-audit 0.23.0, advisory DB fetched 2026-11-17):

Lockfile Before After Removed
Cargo.lock 37 30 7 × quinn-proto 0.11.14
openab-agent/Cargo.lock 16 9 7 × quinn-proto 0.11.14
operator/Cargo.lock 24 17 7 × quinn-proto 0.11.16

No advisory was added. The only remaining quinn* finding is quinn-udp RUSTSEC-2026-0538 (see Non-goals).

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.
@chaodu-agent

This comment has been minimized.

@chaodu-agent

Copy link
Copy Markdown
Collaborator

Note

LGTM ✅ - Lockfile-only bump that moves every quinn-proto-bearing lockfile to 0.11.19, patched for all applicable RustSec advisories, with no unrelated crate movement. CI is now fully green. This round adds the group-review results; the verdict is unchanged.

What This PR Does

Three lockfiles resolve a quinn-proto version (0.11.14 or 0.11.16) that RustSec lists as vulnerable. The PR runs cargo update -p quinn-proto --precise 0.11.19 in each affected workspace, which clears the scanner findings and removes the risk if reqwest's http3 feature is ever enabled. Closes #1604.

How It Works

  • Cargo.lock and openab-agent/Cargo.lock move from 0.11.14 to 0.11.19; operator/Cargo.lock moves from 0.11.16 to 0.11.19. The checksum is identical in all three.
  • No Cargo.toml changes. quinn-proto is transitive through quinn 0.11 (^0.11), which is an optional dependency of reqwest's http3 feature.
  • The other lockfile edits follow from quinn-proto 0.11.19 depending on rand 0.10 (rand_pcg 0.10.2 added in Cargo.lock and openab-agent/Cargo.lock; openab-agent drops its now-unused rand/rand_chacha/rand_core 0.9), plus the openab 0.10.0 -> 0.10.1 self-version sync in Cargo.lock.

Findings

# Severity Finding Location
1 🟢 Advisory coverage is correct: 0.11.19 is the first release patched for all eight listed advisories, including RUSTSEC-2026-0523/0524 which are fixed only in 0.11.19. Each old version was affected by seven. Cargo.lock:2958, openab-agent/Cargo.lock:1561, operator/Cargo.lock:2383
2 🟢 Lockfile coverage is complete. The repo tracks five Cargo.lock files; agy-acp/Cargo.lock and crates/platform-schema/Cargo.lock do not contain quinn-proto. --
3 🟢 No unexplained dependency movement. Every non-quinn-proto edit comes from the rand 0.10 move or the openab 0.10.0 -> 0.10.1 self-version sync, which fixes --locked builds against base. Cargo.lock:2482, openab-agent/Cargo.lock
4 🟢 Shipped binaries do not change. All three manifests use reqwest with default-features = false and only rustls-tls/json; none enables http3 or reqwest_unstable, and cargo tree --locked -i quinn-proto --target all --all-features prints nothing for the root, openab-agent, and operator workspaces. Cargo.toml:23, openab-agent/Cargo.toml:16, operator/Cargo.toml:44
5 🟢 Leaving quinn-udp RUSTSEC-2026-0538 out is a defensible scope choice, and the Review Contract states it as a non-goal and follow-up. PR body

No 🔴 or 🟡 findings.

Finding Details

🟢 F1: Advisory coverage

Checked against the rustsec/advisory-db patched/unaffected ranges:

Advisory Patched Hits 0.11.14 Hits 0.11.16
RUSTSEC-2026-0185 >=0.11.15 yes no
RUSTSEC-2026-0341 >=0.11.17 (unaffected <0.11.15) no yes
RUSTSEC-2026-0339 >=0.11.17 yes yes
RUSTSEC-2026-0342 >=0.11.17 yes yes
RUSTSEC-2026-0338 >=0.11.18 yes yes
RUSTSEC-2026-0340 >=0.11.18 yes yes
RUSTSEC-2026-0523 >=0.11.19 yes yes
RUSTSEC-2026-0524 >=0.11.19 yes yes

Any target below 0.11.19 would leave 0523 and 0524 open, so 0.11.19 is the minimum correct version.

🟢 F3: Changes besides quinn-proto

  • Cargo.lock: quinn-proto now depends on getrandom 0.4.3, rand 0.10.2 and rand_pcg; rand_pcg 0.10.2 is added. rand 0.9 / getrandom 0.3 stay because other root crates still use them. openab 0.10.0 -> 0.10.1 matches the base Cargo.toml.
  • openab-agent/Cargo.lock: rand 0.9.4, rand_chacha 0.9.0 and rand_core 0.9.5 are removed (quinn-proto was their only user); rand_pcg 0.10.2 is added; getrandom 0.4.2 gains js-sys/wasm-bindgen edges for already-present crates.
  • operator/Cargo.lock: version and checksum only; 0.11.16 already used rand 0.10 and rand_pcg.

Optional description nit (not blocking): the acceptance criteria say rand_pcg 0.10.2 was added in all three lockfiles. It was added only in Cargo.lock and openab-agent/Cargo.lock; operator/Cargo.lock already had it on main.

🟢 F5: quinn-udp follow-up

The lockfiles still resolve quinn-udp 0.5.14 (Cargo.lock, openab-agent/Cargo.lock) and 0.5.15 (operator/Cargo.lock). RUSTSEC-2026-0538 is fixed in 0.5.16 and affects only Apple/BSD-family receive paths. Like quinn-proto, the crate is not compiled with the current feature set. The repository does build macOS targets, so the follow-up matters if http3 is ever enabled. Please keep it tracked; the same lockfile-only cargo update -p quinn-udp --precise 0.5.16 pattern applies.

Baseline Check
  • PR opened: 2026-11-17
  • Head SHA: 963b00ac76ef29b3ebd8085fed5ea0ee2e48b8cc; base main (not stacked); merge-base b6f0f1cff961a6558c298d13356e60c1d5c1f78f (current main tip, v0.10.1)
  • Diff: 3 lockfiles, +33/-40, one commit
  • Main already has: quinn-proto 0.11.14 / 0.11.16 and a stale openab 0.10.0 lock entry
  • Net-new value: clears 7 quinn-proto advisories per lockfile and fixes the openab lockfile drift
What's Good (🟢)
  • Minimal, targeted --precise update instead of a broad cargo update.
  • Thorough PR body: per-advisory coverage table, before/after cargo audit counts, and --locked validation mirroring CI.
  • Clear scope boundaries with explicit follow-ups.

Review Feedback Status

  • Inline review threads: none were opened on this PR, so there is nothing to reply to or resolve.
  • External reviewers: no feedback from other reviewers or bots.
  • Group review: an additional reviewer report arrived after round 1. It confirmed the lockfile scope and the http3 analysis, and raised the quinn-udp follow-up (F5) and the rand_pcg wording nit (F3). Neither changes the verdict.

Three Reasons We Might Not Need This PR

  1. Nothing compiles the crate - quinn-proto is not built into any shipped binary, so the advisories are not exploitable today; the PR mainly clears lockfile scanner findings.
  2. Narrower than the audit backlog - cargo audit still reports rustls/rustls-webpki/h2/quick-xml/rmcp findings that do reach binaries, plus quinn-udp RUSTSEC-2026-0538 in the same chain; one sweep or Dependabot could cover several one-crate PRs.
  3. It may need repeating - without cargo audit/cargo deny in CI, the next quinn-proto advisory needs the same manual bump.

Counterpoint: the diff is small and easy to revert, and the openab self-version sync alone fixes --locked builds on main.

Validation

  • CI: all checks on 963b00ac pass; the operator and smoke-test-unified jobs that were pending at round 1 have finished green.
  • Not run by reviewers: local cargo audit, cargo build, or cargo test. Advisory coverage is based on advisory-db version ranges; build and test results rely on CI and the author's validation.

@thepagent
thepagent enabled auto-merge (squash) November 17, 2026 19:02
@thepagent
thepagent merged commit a52820d into openabdev:main Nov 17, 2026
42 checks passed
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.

fix(deps): bump quinn-proto to 0.11.19 for RustSec advisories (lockfile-only)

3 participants