Repository navigation
[branch-54] chore: fix cargo audit - #23607
Merged
Merged
Conversation
alamb
commented
Jul 15, 2026
| # run: cargo audit --ignore RUSTSEC-2026-0001 | ||
| run: cargo audit | ||
| # | ||
| # RUSTSEC-2026-0194 and RUSTSEC-2026-0195 (quick-xml) are ignored because |
Contributor
Author
alamb
marked this pull request as ready for review
July 15, 2026 12:47
Update crossbeam-epoch, postgres-protocol, quinn-proto, and tokio-postgres to resolve RUSTSEC advisories, and ignore the two quick-xml advisories that require an object_store 0.14 (breaking) upgrade to fix. Co-Authored-By: Claude Fable 5 <[email protected]>
alamb
force-pushed
the
alamb/branch-54-cargo-audit
branch
from
July 15, 2026 12:50
ee9a101 to
d07a227
Compare
23 of 31 tasks
comphead
approved these changes
Jul 15, 2026
alamb
added a commit
that referenced
this pull request
Nov 13, 2026
## Which issue does this PR close? - Part of #26868 (55.3.0 release) ## Rationale for this change `cargo audit` is failing on `branch-55` (for example on #27388) with 15 vulnerabilities across 7 crates: - `ctutils` 0.4.2: [RUSTSEC-2026-0385](https://rustsec.org/advisories/RUSTSEC-2026-0385) - `quinn-proto` 0.11.15: [RUSTSEC-2026-0338](https://rustsec.org/advisories/RUSTSEC-2026-0338), [RUSTSEC-2026-0339](https://rustsec.org/advisories/RUSTSEC-2026-0339), [RUSTSEC-2026-0340](https://rustsec.org/advisories/RUSTSEC-2026-0340), [RUSTSEC-2026-0341](https://rustsec.org/advisories/RUSTSEC-2026-0341), [RUSTSEC-2026-0342](https://rustsec.org/advisories/RUSTSEC-2026-0342) - `rustls` 0.23.45: [RUSTSEC-2026-0346](https://rustsec.org/advisories/RUSTSEC-2026-0346), [RUSTSEC-2026-0347](https://rustsec.org/advisories/RUSTSEC-2026-0347), [RUSTSEC-2026-0348](https://rustsec.org/advisories/RUSTSEC-2026-0348), [RUSTSEC-2026-0349](https://rustsec.org/advisories/RUSTSEC-2026-0349) - `rustls-webpki` 0.103.15: [RUSTSEC-2026-0382](https://rustsec.org/advisories/RUSTSEC-2026-0382) - `zstd` 0.13.3: [RUSTSEC-2026-0391](https://rustsec.org/advisories/RUSTSEC-2026-0391) - `zstd-safe` 7.2.4: [RUSTSEC-2026-0398](https://rustsec.org/advisories/RUSTSEC-2026-0398), [RUSTSEC-2026-0403](https://rustsec.org/advisories/RUSTSEC-2026-0403) - `zstd-sys` 2.0.16: [RUSTSEC-2026-0410](https://rustsec.org/advisories/RUSTSEC-2026-0410) This follows the model of similar fixes on earlier maintenance branches: - #23607 (branch-54) - #21587 (branch-53) - #21415 (branch-52) ## What changes are included in this PR? `Cargo.lock` only, from ```shell cargo update -p ctutils -p quinn-proto -p rustls -p rustls-webpki -p zstd -p zstd-safe -p zstd-sys ``` | Crate | Before | After | | --------------- | ------ | ------- | | `ctutils` | 0.4.2 | 0.4.8 | | `quinn-proto` | 0.11.15 | 0.11.19 | | `rustls` | 0.23.45 | 0.23.46 | | `rustls-webpki` | 0.103.15 | 0.103.17 | | `zstd` | 0.13.3 | 0.13.5 | | `zstd-safe` | 7.2.4 | 7.4.1 | | `zstd-sys` | 2.0.16 | 2.1.3 | `quinn-proto` 0.11.19 adds `rand_pcg` 0.10.2 as a new transitive dependency. All updates are semver compatible, so no `Cargo.toml` changes are needed, and no new advisories are ignored. ## Are these changes tested? Yes, by CI. Locally, `cargo audit --ignore RUSTSEC-2026-0194 --ignore RUSTSEC-2026-0195` (the command CI runs on this branch) now passes with only allowed warnings remaining. ## Are there any user-facing changes? No, dependency version bumps in `Cargo.lock` only. Co-authored-by: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
54.1.0(minor/patch) Release #22547 (54.1.0 release)Rationale for this change
cargo auditis failing onbranch-54with 7 vulnerabilities across 5 crates:crossbeam-epoch0.9.18: RUSTSEC-2026-0204postgres-protocol0.6.11: RUSTSEC-2026-0179 (high), RUSTSEC-2026-0180quinn-proto0.11.14: RUSTSEC-2026-0185 (high)tokio-postgres0.7.17: RUSTSEC-2026-0178quick-xml0.39.2: RUSTSEC-2026-0194 (high), RUSTSEC-2026-0195 (high)This follows the model of similar fixes on earlier maintenance branches:
What changes are included in this PR?
cargo updatefor crates that have dependenciesquick-xmladvisories. The fix requiresquick-xml0.41, which is only used byobject_store0.14 — a breaking upgrade that can not be backported to this maintenance branch. The same advisories are ignored onmain(added in Fix CI failure by Ignore quick-xml audit advisories #23298, tracked by Cargo audit is failing on main #23297).Are these changes tested?
Yes, by CI.
cargo auditnow passes locally with the ignore flags (only allowed warnings remain).Are there any user-facing changes?
No, dependency version bumps in
Cargo.lockand a CI change only.