Repository navigation
fix(deps): ignore zip advisories RUSTSEC-2026-0367 to 0369 - #1636
Merged
Merged
Conversation
zip 0.6.6 is only a build-dependency of utoipa-swagger-ui 6.0.0, which extracts the Swagger UI archive bundled in its own crate. The fix is in zip >= 9.0.0, and the latest utoipa-swagger-ui still requires zip ^8.6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Cargo Audit fails on main and every open PR since the RustSec database added three advisories against
zip0.6.6:ZipArchive::extractcreates symlinks pointing outside the destinationThis adds the three IDs to
.cargo/audit.tomlwith a justification comment.zip0.6.6 enters only as a build-dependency ofutoipa-swagger-ui6.0.0 (viatycho-indexer). Its build script readsres/swagger-ui-5.3.1.zip, which ships inside the crate, and extracts it with its own loop (enclosed_name+File::create), notZipArchive::extract. No untrusted archive is ever opened.The fix is only in
zip>= 9.0.0. The latestutoipa-swagger-ui(10.0.1) still requireszip ^8.6, so a dependency bump cannot clear these yet.cargo auditreports 0 vulnerabilities locally with this change.🤖 Generated with Claude Code