Skip to content

Bump libz-sys to 1.1.33 to clear RUSTSEC-2026-0544 - #19585

Merged
fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_libz_sys_0544_audit
Nov 17, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_libz_sys_0544_audit

Conversation

@fdncred

@fdncred fdncred commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Description

The Security audit job fails on every PR that touches Cargo.toml or Cargo.lock (for example #19575), and on main. The advisory database now flags libz-sys 1.1.31 for RUSTSEC-2026-0544 (CVE-2026-85091): its bundled zlib 1.3.2 can overflow a heap buffer in gz_vacate() when gzprintf() runs after a stalled non-blocking gzwrite(). libz-sys 1.1.33 bundles zlib 1.4 and fixes it.

Crate Old New Advisory Pulled in by
libz-sys 1.1.31 1.1.33 RUSTSEC-2026-0544 libgit2-sys (git2: fff-search, nu_plugin_gstat), curl-sys (webpage: nu_plugin_query)

libz-sys is transitive, so only Cargo.lock changes (cargo update -p libz-sys --precise 1.1.33). 1.1.33 has the same dependencies as 1.1.31, and nothing else in the lockfile moves.

User-facing changes (Release notes)

Additional notes

@fdncred fdncred added the notes:hide Noted only in "Full Changelog" section label Nov 17, 2026
@fdncred
fdncred merged commit f2158cf into nushell:main Nov 17, 2026
16 checks passed
@fdncred
fdncred deleted the fix_libz_sys_0544_audit branch November 17, 2026 22:02
@github-actions github-actions Bot added this to the v0.118.0 milestone Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:hide Noted only in "Full Changelog" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant