Skip to content

Fix cargo-deny: update url, ignore zip advisories velopack doesn't reach - #8

Merged
kylekz merged 3 commits into
mainfrom
claude/project-thread-8mkb9m
Nov 23, 2026
Merged

kylekz merged 3 commits into
mainfrom
claude/project-thread-8mkb9m

Conversation

@kylekz

@kylekz kylekz commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Requested by Kyle · project thread

CI's cargo-deny job now fails on every branch (it failed on Dependabot's #7) because of new RustSec advisories.

url 2.5.8 → 2.5.9 (with form_urlencoded 1.2.2 → 1.2.3): RUSTSEC-2026-0592, Url::origin() recursing on nested blob: URLs. Fixed upstream, so this is a lockfile update.

zip 8.6.0, which comes in only through velopack =1.2.161 (pinned to vpk, D9), added to deny.toml's ignore beside the existing zip-via-velopack entries:

  • RUSTSEC-2026-0545: AES entries' authentication code. Velopack builds zip with default-features = false, features = ["deflate"], so no aes-crypto.
  • RUSTSEC-2026-0546: ZipArchive::extract writing through symlinks. Velopack never calls extract; it opens archives with ZipArchive::new and reads entries by index (src/bundle.rs).
  • RUSTSEC-2026-0547: the legacy-zip decoders. Not enabled (same feature list).
  • RUSTSEC-2026-0548: ZipStreamReader local-header names. Velopack never streams an archive.

These go when velopack moves to zip 9 (no stable velopack release does yet).

Checked against velopack 1.2.161's published crate source. cargo deny check locally: advisories FAILED (0545, 0592) on the first commit, then advisories, bans, licenses and sources all ok.

🤖 Generated with Claude Code

https://claude.ai/code/session_014UYcBEnwvqXcTnRw3CQBk5

RUSTSEC-2026-0546 (ZipArchive::extract through symlinks), -0547 (the
legacy-zip decoders) and -0548 (ZipStreamReader's local-header names)
flag zip 8.6.0, which comes only through velopack =1.2.161. Velopack
opens archives with ZipArchive and reads entries by index, builds zip
with deflate alone, and never streams an archive, so none applies.
They fail CI's cargo-deny job on every branch until ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014UYcBEnwvqXcTnRw3CQBk5
cargo-deny now also flags url 2.5.8 (RUSTSEC-2026-0592, Url::origin
recursing on nested blob: URLs), fixed in 2.5.9, and zip 8.6.0's
RUSTSEC-2026-0545 (AES entries' authentication code), which velopack
can't reach: it builds zip with deflate alone, without aes-crypto.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014UYcBEnwvqXcTnRw3CQBk5
@kylekz kylekz changed the title Ignore three zip advisories velopack's use of zip doesn't reach Fix cargo-deny: update url, ignore zip advisories velopack doesn't reach Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014UYcBEnwvqXcTnRw3CQBk5
@kylekz
kylekz merged commit 7bb310d into main Nov 23, 2026
7 checks passed
@kylekz
kylekz deleted the claude/project-thread-8mkb9m branch November 23, 2026 09:10
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.

2 participants