Repository navigation
fix(deps): clear RUSTSEC-2026-0543 and RUSTSEC-2026-0544 - #1928
Merged
Merged
Conversation
zlib 1.3.1.2 through 1.3.2 overflow the input buffer in gz_vacate() after a write stall. 1.1.33 is the first safe libz-sys release. Lockfile only. Signed-off-by: Florentin Dubois <[email protected]>
rskafka 0.6.0, the latest release, depends on chrono without a feature gate, and chrono is unmaintained (RUSTSEC-2026-0543, no safe upgrade), which fails `cargo audit --deny warnings`. chrono reached the lockfile only through rskafka in sozu-e2e. kafka-protocol only encodes and decodes messages, so the test now frames ApiVersions, CreateTopics, Produce, Fetch and DeleteTopics itself over one connection to the single KRaft node; it needs no metadata or leader discovery. Every assertion is kept: offsets 0..=2, high watermark 3, keys, values, the sozu-id header, the no-bypass check and the reconnect. Records carry sequence = offset because RecordBatchEncoder splits a batch whenever offset - sequence changes, and Produce v3+ accepts one batch. Signed-off-by: Florentin Dubois <[email protected]>
FlorentinDUBOIS
added a commit
that referenced
this pull request
Nov 18, 2026
Prepare Sōzu 2.3.6: #1927 (the PROXY protocol v2 header Sōzu prepends to UDP datagrams names the UDP listener's address as its destination, not the backend it forwards to) and #1928 (libz-sys 1.1.33 for RUSTSEC-2026-0544; the sozu-e2e Kafka test moves from rskafka to kafka-protocol, dropping chrono and RUSTSEC-2026-0543). Align all six package versions, workspace dependency minima, lockfiles, RPM metadata and changelog. Advance the previous-stable two-worker upgrade gate from published 2.3.4 to published 2.3.5 (archive 63332cdb…, executable aa63f2ce…, `sozu 2.3.5 (768fad4 HEAD)`), keeping the 2.2.1 bridge and 2.3.1 metadata cases. Signed-off-by: Florentin Dubois <[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.
cargo audit --deny warningsfails onmainsince two advisories were published after the last green run (2026-11-16), which turns thecargo auditjob red on every open PR (e.g. #1927).Changes
libz-sys1.1.31 → 1.1.33, lockfile only. zlib 1.3.1.2–1.3.2 overflow the input buffer ingz_vacate()after a write stall.libz-sysreachessozu-libthroughflate2.chronoreached the lockfile only throughrskafka0.6.0 insozu-e2e. That is rskafka's latest release, and it depends onchronowithout a feature gate. The Kafka service test now useskafka-protocol0.18 (default-features = false, features = ["client"]), which has nochronodependency. That crate only encodes and decodes messages, so the test frames ApiVersions, CreateTopics, Produce, Fetch and DeleteTopics itself over one connection to the single KRaft node. No metadata or leader discovery is needed.Every assertion of the Kafka test is kept: offsets
[0, 1, 2], high watermark 3, keys, values, thesozu-idheader,deactivate_and_assert_no_bypassand the reconnect. No production code changes.Verification (local)
cargo audit --deny warnings→ exit 0 (643 crates); onmainit fails with the two advisories above.grep -c 'name = "chrono"' Cargo.lock→ 0.cargo +nightly fmt --all -- --check,cargo clippy --all-targets --locked --all-features -- -D warnings→ clean.protocol-services.ymlcommand (cargo test -p sozu-e2e --locked -j4 --features service-kafka tests::real_services_tcp::kafka::round_trip_and_reconnect_via_sozu -- --exact --nocapture --test-threads=1, docker):mainwith rskafka:test result: ok. 1 passedtest result: ok. 1 passed#1927 needs a rebase onto this once merged to get a green
cargo audit.