Repository navigation
Rust MongoDB server: zstd 0.14.3, clearing the zstd RustSec advisories - #2207
Merged
Merged
Conversation
cargo-audit fails on RUSTSEC-2026-0391 (zstd 0.13.3), 0398 / 0403 (zstd-safe 7.3.0) and 0410 (zstd-sys 2.1.1), published after main's last audit. `secantus-wire` moves to zstd 0.14, and the four MongoDB-side lockfiles to zstd 0.14.3 / zstd-safe 8.2.0 / zstd-sys 2.1.2. The official `mongodb` driver (3.9.1, its latest) still pins zstd 0.13 in its `zstd-compression` feature, which the secantusdb tests enabled. That feature is dropped (Joe's choice over an audit ignore); zstd is covered over raw OP_COMPRESSED frames with the driver test's own workload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VYK5jw5th5t6PYb3UrEPs
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.
cargo-audit now fails on new advisories against zstd 0.13.3 (RUSTSEC-2026-0391), zstd-safe 7.3.0 (0398, 0403) and zstd-sys 2.1.1 (0410), published after main's last audit (2026-10-26 05:31). Reported by the PG session on #2203. These crates appear only in the MongoDB-side lockfiles.
secantus-wire: zstd 0.13 → 0.14. The API used (bulk::compress/decompress) is unchanged.crates/,secantusdb,secantus-storage-adapter,secantus-server-py: zstd 0.14.3, zstd-safe 8.2.0, zstd-sys 2.1.2.crates/secantusdb's dev-dependency on the officialmongodbdriver (3.9.1, its newest) still pins zstd 0.13 throughzstd-compression. That feature is dropped (Joe chose this over an audit ignore). zstd stays covered by the newraw_frames_round_trip_crud_and_a_large_document_under_zstd, the driver test's workload over raw OP_COMPRESSED frames under the server's codec. Snappy and zlib still go through the driver. What is lost: the Rust driver's own zstd encoder.Local:
cargo audit(with the existing RUSTSEC-2026-0235 ignore) exits 0 on all four lockfiles.secantusdbcompression tests 6/6.secantus-wire29/29.-D warningsclean.🤖 Generated with Claude Code