Skip to content

fix(deps): zip 8.6.0 -> 9.5.0 (archive extraction advisories) - #84

Merged
I4cTime merged 2 commits into
mainfrom
chore/zip-9
Nov 10, 2026
Merged

I4cTime merged 2 commits into
mainfrom
chore/zip-9

Conversation

@I4cTime

@I4cTime I4cTime commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

Bumps the zip crate from 8.6.0 to 9.5.0. Replaces #69, which stopped at 9.0.0 and failed the Rust job.

MineUI unpacks CurseForge modpack zips and mod archives with this crate. The open advisories against 8.x include a critical dual-header parser differential (first patched in 9.0.5) and several high ones: symlink targets written outside the extraction directory, and denial of service in the legacy decoders.

  • crates/mineui-core/Cargo.toml: zip = "9.0.5" as the minimum; the lock resolves 9.5.0.
  • cfpack::read_manifest and mod_archive: zip 9 returns entry names as Result. A name that does not decode now rejects the archive with the existing "not a zip file" / "not a readable .zip archive" errors, instead of being read as an empty name.

Type

  • Feature
  • Fix
  • Security
  • Docs
  • Chore / CI / deps

Checklist

  • pnpm lint passes (not run locally: no frontend change, left to CI)
  • pnpm exec tsc --noEmit passes (left to CI)
  • pnpm build passes (left to CI)
  • cargo fmt --all --check passes (if Rust touched)
  • cargo clippy -p mineui-core --all-targets -- -D warnings passes (if Rust touched; run on the whole workspace)
  • cargo test -p mineui-core passes (if Rust touched; 254 passed)
  • CHANGELOG.md updated under [Unreleased] (goes in with the 2.12.1 release PR)
  • docs/v2-contract.md updated if the Tauri IPC surface changed (no IPC change)
  • docs/theme-contract.md updated if theme tokens changed (none)
  • Docs / README updated if behavior changed (none needed)

Breaking changes

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv

I4cTime and others added 2 commits November 10, 2026 00:28
zip 9 returns entry names as Result: a name that does not decode now
rejects the archive in cfpack::read_manifest and mod_archive instead of
being read as an empty name. Covers the dual-header (first patched in
9.0.5), symlink-target, legacy decoder and AES HMAC advisories.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
@I4cTime
I4cTime merged commit 6c1d691 into main Nov 10, 2026
5 checks passed
@I4cTime
I4cTime deleted the chore/zip-9 branch November 10, 2026 06:53
@I4cTime I4cTime mentioned this pull request Nov 10, 2026
12 of 15 tasks
I4cTime added a commit that referenced this pull request Nov 10, 2026
Release commit for the dependency sweep (#71 #73 #76 #80 #81 #82 #84 #85).

- Version 2.12.1 in package.json, tauri.conf.json and both crates.
- CHANGELOG: Security (zip 9.5.0, rustls 0.23.46, Next.js 16.4.5, figlet)
  and Changed (frontend, Rust crates, CI).
- pnpm override figlet >=1.11.3: it comes in only with the HeroUI Pro
  installer, which Dependabot could not update.
- Workflow comments: pnpm/action-setup pin is v6.1.1, not v6.0.10.
- README install table filenames.


Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv

Co-authored-by: Claude Fable 5.2 <[email protected]>
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.

1 participant