Skip to content

fix(deps): bump h2 to 0.4.17 for RUSTSEC-2026-0258 - #72

Merged
edochi merged 2 commits into
mainfrom
fix/audit-h2-advisory
Aug 20, 2026
Merged

fix(deps): bump h2 to 0.4.17 for RUSTSEC-2026-0258#72
edochi merged 2 commits into
mainfrom
fix/audit-h2-advisory

Conversation

@edochi

@edochi edochi commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Unblocks CI on every open branch. One line of Cargo.lock.

The advisory

RUSTSEC-2026-0258h2 unbounded empty DATA frames — was published 2026-08-17, so cargo audit started failing on all branches at once. Nothing to do with the code in any of them.

Crate:    h2
Version:  0.4.15
ID:       RUSTSEC-2026-0258
Solution: Upgrade to >=0.4.16

h2 is transitive — lancedb → lance → lance-namespace → reqwest → hyper → h2 — so a lockfile bump is the whole fix, no manifest change. Resolved to 0.4.17.

Incidental change

Re-resolution also moved windows-sys down in four transitive entries (0.61.2 → 0.60.2 / 0.59.0 / 0.52.0). That's cargo selecting versions compatible with the toolchain now pinned in rust-toolchain.toml. Windows-only crates, and [package.metadata.dist] targets aarch64-apple-darwin and x86_64-unknown-linux-gnu (windows-msvc is commented out), so no shipped binary is affected.

Verified locally on 1.97.1

Check Result
cargo audit vulnerability gone; 5 pre-existing allowed unmaintained warnings unchanged
cargo deny check advisories ok, bans ok, licenses ok, sources ok
cargo test --features testing-mocks 983 pass, 0 fail
cargo test --features testing-mocks -- --ignored 12 pass, 0 fail (real-model lane)
cargo clippy --all-targets --features testing-mocks -- -D warnings clean
cargo fmt --check clean
ast-grep scan clean
mdvs check example_kb 46 files, no violations

Merge order

This should go in first. PRs #70, #71, and fix/duplicate-field-names are all red on the same advisory and will go green once they pick this up.

`cargo audit` fails on every branch as of 2026-08-17, when the advisory
for h2's unbounded empty DATA frames was published. The fix is a lockfile
bump — h2 is transitive (lancedb → lance → reqwest → hyper → h2), so no
manifest change is needed.

    Crate:    h2
    Version:  0.4.15
    ID:       RUSTSEC-2026-0258
    Solution: Upgrade to >=0.4.16

Resolved to 0.4.17. `cargo audit` and `cargo deny check` both pass; the
five remaining audit warnings are the pre-existing allowed `unmaintained`
advisories, unchanged.

Re-resolution also moved `windows-sys` down in four transitive entries
(0.61.2 → 0.60.2 / 0.59.0 / 0.52.0), cargo picking versions compatible
with the toolchain now pinned in rust-toolchain.toml. Windows-only crates,
and the dist targets are aarch64-apple-darwin and x86_64-unknown-linux-gnu,
so no shipped binary is affected.

Verified on 1.97.1: 983 tests pass, the 12 ignored real-model tests pass,
clippy clean with -D warnings, fmt clean, ast-grep clean.

Co-Authored-By: Claude <noreply@anthropic.com>
@edochi
edochi merged commit eb4db26 into main Aug 20, 2026
8 checks passed
@edochi
edochi deleted the fix/audit-h2-advisory branch August 20, 2026 13:53
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