8000 deps: bump url and rustix for RustSec advisories, ignore chrono by avelino · Pull Request #155 · avelino/mcp · GitHub
[go: up one dir, main page]

Skip to content

deps: bump url and rustix for RustSec advisories, ignore chrono - #155

Merged
avelino merged 1 commit into
mainfrom
avelino/fix/deny-advisories-2026-11
Nov 24, 2026
Merged

avelino merged 1 commit into
mainfrom
avelino/fix/deny-advisories-2026-11

Conversation

@avelino
@avelino avelino commented Nov 24, 2026
Copy link
Copy Markdown
Owner

Clears the cargo deny check advisories gate.

  • RUSTSEC-2026-0592: url 2.5.8 -> 2.5.9 (stack overflow in Url::origin() on nested blob: URLs). Cargo.toml floor raised to url = "2.5.9" so the fix cannot be resolved away; still semver compatible.
  • RUSTSEC-2026-0486: rustix 1.1.4 -> 1.1.6 (transitive via crossterm, tempfile, xattr). Lockfile only.
  • RUSTSEC-2026-0543: chrono unmaintained, no safe upgrade. Added to ignore in deny.toml with a reason and link; migration to jiff or time is tracked separately.

Lockfile change is minimal: cargo update -p rustix, then cargo update -p url --precise 2.5.9 (which also moved form_urlencoded 1.2.2 -> 1.2.3) and a windows-sys 0.52 -> 0.61 re-point on a few dependents that came with the rustix update. No source changes.

Testing

Not run in my environment, so please rely on CI:

  • cargo deny is not installed, so cargo deny check advisories was not run.
  • cargo fmt and cargo clippy are not installed.
  • cargo build / cargo test fail before compiling: the sandbox has rustc 1.85.1, and dependencies already in the lockfile (comfy-table 8.0.1, icu_* 2.2.0) require 1.86-1.88. This is not caused by this change.
  • The diff was reviewed by hand: git diff --stat shows only Cargo.toml, Cargo.lock and deny.toml.

Testes: Nothing could run: cargo-deny, rustfmt and clippy are not installed, and cargo build/test abort because rustc 1.85.1 is older than the lockfile's existing dependencies require (comfy-table 8.0.1 needs 1.88). cargo update itself succeeded.

The cargo-deny advisories gate fails on three advisories. Bump url to
2.5.9 (and form_urlencoded 1.2.3) and rustix to 1.1.6 in Cargo.lock only,
without a full update, and raise the url floor in Cargo.toml so the fix is
explicit. chrono is unmaintained with no safe upgrade and no known
vulnerability; ignore it in deny.toml with a reason and link until it is
migrated to jiff or time.

Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
@avelino
avelino merged commit 2057675 into main Nov 24, 2026
8 checks passed
@avelino
avelino deleted the avelino/fix/deny-advisories-2026-11 branch November 24, 2026 21:47
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

0