Repository navigation
ci(audit): Ignore unreachable zip and chrono advisories - #3518
Merged
Merged
Conversation
Co-Authored-By: Daniel Szoke <[email protected]>
szokeasaurusrex
approved these changes
Nov 23, 2026
szokeasaurusrex
marked this pull request as ready for review
November 23, 2026 13:35
loewenheim
approved these changes
Nov 23, 2026
giortzisg
approved these changes
Nov 23, 2026
szokeasaurusrex
added a commit
that referenced
this pull request
Nov 24, 2026
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. <!-- junior-request-attribution:start --> via @szokeasaurusrex. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent-dispatch%3Adispatch_042bcfa6cb8bde4f93f9b32bbfee42c2 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_042bcfa6cb8bde4f93f9b32bbfee42c2) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_042bcfa6cb8bde4f93f9b32bbfee42c2/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Daniel Szoke <[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.
Adds eight RustSec advisories to the
audit.ymlignore list. None of them has a code path that sentry-cli can reach.zip (RUSTSEC-2026-0545, -0546, -0547, -0548): sentry-cli and symbolic-debuginfo only read archives through
ZipArchive::new/by_index/by_name. None of the following happens:aes-crypto; 2.4.2 never gets a password)extract()/extract_unwrapped_root_dir()legacy-zipZipStreamReader/read_zipfile_from_streamzip 7.2.0 can't move to a patched 9.x until symbolic-debuginfo ships a stable release that allows it (13.9.0 still requires
^7.2.0), so these have to stay ignored even if the direct zip dependency is bumped.chrono family (RUSTSEC-2026-0542 humantime, -0543 chrono, -0555 chrono-tz, -0559 chrono-tz-build): these are informational "unmaintained" advisories with no vulnerability and no patched version. Replacing chrono would mean rewriting every date/time call site, and
anylogwould still pull it in.Closes #3507
Closes #3508
Closes #3509
Closes #3510
Closes #3511
Closes #3512
Closes #3513
Closes #3514
Closes #3515
Closes #3516
Fixes CLI-396
Fixes CLI-397
Fixes CLI-398
Fixes CLI-399
Fixes CLI-400
Fixes CLI-401
Fixes CLI-402
Fixes CLI-403
Fixes CLI-404
Fixes CLI-405
via @szokeasaurusrex.
--
View Session [Sentry]