Skip to content

fix(deps): bump libz-sys to fix a security alert - #154

Merged
CodePrometheus merged 1 commit into
masterfrom
bump/security-deps-2026-11-22
Nov 22, 2026
Merged

CodePrometheus merged 1 commit into
masterfrom
bump/security-deps-2026-11-22

Conversation

@wu-sheng

Copy link
Copy Markdown
Member

Dependencies (Cargo.lock)

Crate Old New Advisory
libz-sys 1.1.31 1.1.33 RUSTSEC-2026-0544 (CVE-2026-85091)

libz-sys comes in through rdkafka-sys for the optional Kafka reporter. The advisory is a heap buffer overflow in the bundled zlib's gz_vacate(). cargo update -p libz-sys --precise 1.1.33 moves nothing else. The repo keeps no changelog file.

License

dist-material/LICENSE regenerated with license-eye dependency resolve --summary ./dist-material/LICENSE.tpl -c .licenserc.yaml (d299844, as in the License workflow). Only the libz-sys line changes. The same command on master leaves the file unchanged.

GitHub Actions / infra-e2e

No changes needed.

Verified locally

  • libz-sys 1.1.33 compiles with Rust 1.85 (this repo's toolchain), checked through the same bump in apache/skywalking-rust.
  • The extension itself could not be built here: bindgen 0.71.1 cannot parse the local PHP 8.5 headers ("Cannot turn unknown calling convention to tokens"). Left to CI.

Left out

  • time 0.3.45 (RUSTSEC-2026-0009): every fixed release needs Rust 1.88, above the 1.85 toolchain (known decision).
  • bincode, rustls-pemfile, chrono, chrono-tz, chrono-tz-build: unmaintained advisories with no fixed release.

- libz-sys 1.1.31 -> 1.1.33 (RUSTSEC-2026-0544, CVE-2026-85091: heap
  buffer overflow in the bundled zlib's gz_vacate()) in Cargo.lock
  (cargo update -p libz-sys --precise 1.1.33). It comes in through
  rdkafka-sys for the optional Kafka reporter. Nothing else in the
  lockfile moves.
- Regenerate dist-material/LICENSE with license-eye d299844 (the CI
  license job's command): only the libz-sys line changes.

Generated-by: Kiro Crew (claude-opus-5.5)
@wu-sheng wu-sheng added this to the 1.2.0 milestone Nov 22, 2026
@CodePrometheus
CodePrometheus merged commit 90af734 into master Nov 22, 2026
18 checks passed
@CodePrometheus
CodePrometheus deleted the bump/security-deps-2026-11-22 branch November 22, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants