Skip to content

Commit 2142d5b

Browse files
alambclaude
andauthored
[branch-54] chore: fix cargo audit (#23607)
## Which issue does this PR close? - Part of #22547 (54.1.0 release) ## Rationale for this change `cargo audit` is failing on `branch-54` with 7 vulnerabilities across 5 crates: - `crossbeam-epoch` 0.9.18: [RUSTSEC-2026-0204](https://rustsec.org/advisories/RUSTSEC-2026-0204) - `postgres-protocol` 0.6.11: [RUSTSEC-2026-0179](https://rustsec.org/advisories/RUSTSEC-2026-0179) (high), [RUSTSEC-2026-0180](https://rustsec.org/advisories/RUSTSEC-2026-0180) - `quinn-proto` 0.11.14: [RUSTSEC-2026-0185](https://rustsec.org/advisories/RUSTSEC-2026-0185) (high) - `tokio-postgres` 0.7.17: [RUSTSEC-2026-0178](https://rustsec.org/advisories/RUSTSEC-2026-0178) - `quick-xml` 0.39.2: [RUSTSEC-2026-0194](https://rustsec.org/advisories/RUSTSEC-2026-0194) (high), [RUSTSEC-2026-0195](https://rustsec.org/advisories/RUSTSEC-2026-0195) (high) This follows the model of similar fixes on earlier maintenance branches: - #21415 (branch-52) - #21587 (branch-53) ## What changes are included in this PR? - `cargo update` for crates that have dependencies - Add ignore for the two `quick-xml` advisories. The fix requires `quick-xml` 0.41, which is only used by `object_store` 0.14 — a breaking upgrade that can not be backported to this maintenance branch. The same advisories are ignored on `main` (added in #23298, tracked by #23297). ## Are these changes tested? Yes, by CI. `cargo audit` now passes locally with the ignore flags (only allowed warnings remain). ## Are there any user-facing changes? No, dependency version bumps in `Cargo.lock` and a CI change only. Co-authored-by: Claude Fable 5 <[email protected]>
1 parent c735a49 commit 2142d5b

2 files changed

Lines changed: 43 additions & 99 deletions

File tree

‎.github/workflows/audit.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,10 @@ jobs:
5151
- name: Run audit check
5252
# Note: you can ignore specific RUSTSEC issues using the `--ignore` flag ,for example:
5353
# run: cargo audit --ignore RUSTSEC-2026-0001
54-
run: cargo audit
54+
#
55+
# RUSTSEC-2026-0194 and RUSTSEC-2026-0195 (quick-xml) are ignored because
56+
# the fix requires quick-xml 0.41, which is only used by object_store 0.14,
57+
# a breaking upgrade that can not be backported to this maintenance branch.
58+
# The same advisories are ignored on main, see
59+
# https://github.com/apache/datafusion/issues/23297
60+
run: cargo audit --ignore RUSTSEC-2026-0194 --ignore RUSTSEC-2026-0195

‎Cargo.lock‎

Lines changed: 36 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)