Skip to content

fix(deps): update vulnerable ZIP and TLS dependencies - #459

Closed
2725238326 wants to merge 2 commits into
Wangnov:mainfrom
2725238326:fix/dependency-audit
Closed

2725238326 wants to merge 2 commits into
Wangnov:mainfrom
2725238326:fix/dependency-audit

Conversation

@2725238326

Copy link
Copy Markdown
Contributor

cargo audit fails on the locked ZIP and TLS dependencies. This updates zip to 9.0.5, rustls to 0.23.46, rustls-webpki to 0.103.16, and webpki-root-certs to 1.0.10. The archive readers handle ZIP 9's fallible entry-name API.

The updater's optional ZIP installer feature retains a separate zip 4.6.1 dependency. Disable that feature: the published Windows update manifest uses signed NSIS .exe files. TLS and proxy support stay enabled, and the macOS .app.tar.gz path does not depend on this feature. Legacy zipped Windows installers are no longer supported.

The download test now checks that file:// is rejected by the existing HTTPS-only policy, rather than expecting a successful transfer. Production download arguments are unchanged.

Validation

On Windows, workspace tests pass (436 passed, 17 existing ignored tests), as does Clippy with warnings denied. Frontend checks, lint, all 475 tests and the build pass. All three npm lockfile audits report no vulnerabilities. cargo audit reports no vulnerabilities, and cargo deny check passes. Archive tests cover CP437 filenames, path validation, size limits and theme import.

@2725238326 2725238326 closed this Oct 22, 2026
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