Repository navigation
deps: bump url and rustix for RustSec advisories, ignore chrono - #155
Merged
Merged
Conversation
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>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Clears the
cargo deny check advisoriesgate.url2.5.8 -> 2.5.9 (stack overflow inUrl::origin()on nestedblob:URLs). Cargo.toml floor raised tourl = "2.5.9"so the fix cannot be resolved away; still semver compatible.rustix1.1.4 -> 1.1.6 (transitive via crossterm, tempfile, xattr). Lockfile only.chronounmaintained, no safe upgrade. Added toignorein deny.toml with a reason and link; migration to jiff or time is tracked separately.Lockfile change is minimal:
cargo update -p rustix, thencargo update -p url --precise 2.5.9(which also movedform_urlencoded1.2.2 -> 1.2.3) and awindows-sys0.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 denyis not installed, socargo deny check advisorieswas not run.cargo fmtandcargo clippyare not installed.cargo build/cargo testfail 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.git diff --statshows 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.