Skip to content

build(deps): Bump zip from 2.4.2 to 9.8.2 - #3519

Merged
szokeasaurusrex merged 3 commits into
masterfrom
deps/zip-9
Nov 24, 2026
Merged

szokeasaurusrex merged 3 commits into
masterfrom
deps/zip-9

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the direct zip dependency to 9.x, which fixes RUSTSEC-2026-0545 and RUSTSEC-2026-0548. sentry-cli never reaches either vulnerable path, since it doesn't decrypt AES entries or use ZipStreamReader. No release is needed.

zip 9 changed how entry names are returned:

  • ZipFile::name() returns ZipResult<Cow<str>>.
  • ZipArchive::file_names() yields ZipResult<Cow<str>>.

These only error when a non-UTF-8 name can't be decoded as CP437. Call sites are updated as follows:

  • walk_difs_zip and the macOS-only extract_dsym_zip and extract_app_name_from_ipa pass the error up with ?. extract_app_name_from_ipa now returns an owned String.
  • The macOS-only is_ipa_file treats an undecodable name as not matching.
  • Tests unwrap the result.

zip 7.2.0 stays in the tree through symbolic-debuginfo, because 13.9.0 still requires ^7.2.0. The advisory IDs therefore still need the audit.yml ignores from #3518.

via @szokeasaurusrex.

--

View Session [Sentry]

@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review November 23, 2026 13:36
@szokeasaurusrex
szokeasaurusrex requested review from a team as code owners November 23, 2026 13:36
Comment thread src/utils/build/apple.rs Resolved
@szokeasaurusrex
szokeasaurusrex merged commit e34f4e0 into master Nov 24, 2026
30 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the deps/zip-9 branch November 24, 2026 13:13
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.

4 participants