Skip to content

Cargo.lock: update crates with RustSec advisories to compatible fixes - #2348

Open
jrparks wants to merge 4 commits into
tursodatabase:mainfrom
jrparks:up/lock-bumps
Open

jrparks wants to merge 4 commits into
tursodatabase:mainfrom
jrparks:up/lock-bumps

Conversation

@jrparks

@jrparks jrparks commented Dec 1, 2026 •

Copy link
Copy Markdown

Updates crates in Cargo.lock that have RustSec advisories and a semver-compatible fix. No Cargo.toml change. One source line changes: tracing-attributes 0.1.31 (pulled in by the tracing-subscriber update) makes #[tracing::instrument] on SyncContext::push_frames trip the private_interfaces lint under CI's -D warnings, because the pub(crate) method returns the private PushFramesResult. The second commit makes that struct pub(crate).

crate from to advisory
bytes 1.8.0 1.12.2 RUSTSEC-2026-0007
crossbeam-channel 0.5.13 0.5.17 RUSTSEC-2025-0024
crossbeam-epoch 0.9.18 0.9.21 RUSTSEC-2026-0204
ring 0.17.8 0.17.14 RUSTSEC-2025-0009
tar 0.4.41 0.4.46 RUSTSEC-2026-0067, RUSTSEC-2026-0068
tracing-subscriber 0.3.18 0.3.23 RUSTSEC-2025-0055
url 2.5.2 2.5.9 RUSTSEC-2026-0592
idna (via url) 0.5.0 1.1.0 RUSTSEC-2024-0421
zstd / zstd-safe / zstd-sys 0.13.2 / 7.2.0 / 2.0.12 0.13.6 / 7.4.2 / 2.2.0 RUSTSEC-2026-0391, -0403, -0410

cargo audit on main's lock reports 73 vulnerabilities; with this change it reports 61.

url 2.5.9 brings idna 1.x, which replaces unicode-bidi/unicode-normalization/tinyvec with the ICU4X crates, so that part of the lock diff is larger than the rest.

Left out because the fix does not build on the pinned rustc 1.85.0: time (RUSTSEC-2026-0009, fixed in 0.3.47, which needs a newer rustc than 1.85), and h2 0.3 (RUSTSEC-2026-0258, fixed only in 0.4, which needs the hyper 1 port).

Checked with cargo +1.85.0 using the CI commands: fmt --check, RUSTFLAGS="-D warnings --cfg tokio_unstable" cargo check --all-targets --all-features, and cargo nextest run for the whole workspace (431 passed).

ubuntu-latest moved to Ubuntu 26.04 between 2026-11-08 and 2026-11-11.
On 26.04 these jobs fail before reaching any test: CMake 4 rejects
wabt-sys 0.6.1 (cmake_minimum_required < 3.5) and the sqlite3_capi
bindings come out empty. The same jobs pass on 24.04, which every
green run so far used. Pinning restores CI for open PRs until the
toolchain issues are fixed properly.

Refs tursodatabase#2315
Go 1.27.4 refuses to link libsql_experimental.a: "disallowed LTO section
".llvmbc" in #cgo LDFLAGS". setup-go '>=1.21' picked 1.27.4 on the
first run of this PR; the last green run used 1.27.3. Pin until the
static library is built without embedded bitcode.

Refs tursodatabase#2315
bytes, crossbeam-channel, crossbeam-epoch, ring, tar, tracing-subscriber, url (and idna), zstd/zstd-safe/zstd-sys. Lockfile only.
tracing-attributes 0.1.31 makes #[instrument] on push_frames trip the private_interfaces lint (-D warnings in CI): the pub(crate) method returned a private type.

This branch has not been deployed

No deployments
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