Repository navigation
Commit b809acc
authored
fix(deps): update url to 2.5.9 for RUSTSEC-2026-0592 (#11370)
`Cargo.lock` on `main` locks `url` 2.5.8, which RUSTSEC-2026-0592 marks
as vulnerable: `Url::origin()` recurses once per nested `blob:` prefix,
so a crafted URL overflows the stack and aborts the process. The
advisory lists 2.5.9 as the first patched release.
This is the cargo-deny failure currently blocking #11365. On its exact
head `f2d3971dcfb0ef170a6aca634aeafb413ffc7b58`, hosted job
[137205006261](https://github.com/lance-format/lance/actions/runs/45021433506/job/137205006261)
fails with:
```text
error[vulnerability]: Stack overflow in `Url::origin()` on nested `blob:` URLs
┌─ /github/workspace/Cargo.lock:792:1
...
├ ID: RUSTSEC-2026-0592
├ Solution: Upgrade to >=2.5.9 (try `cargo update -p url`)
```
This changes only the lockfile. `url` moves from 2.5.8 to 2.5.9, and
`form_urlencoded` from 1.2.2 to 1.2.3, the version `url` 2.5.9 requires
(`^1.2.3`). `url` is transitive here and every dependent accepts a
compatible range, so `Cargo.toml`, the feature set and the 1.95
toolchain are unchanged. No advisory ignore is added.
Validation at this head:
- `cargo metadata --locked` and `cargo +1.95.0 metadata --locked
--no-deps` pass.
- `cargo tree -i url@2.5.9 --locked` resolves one `url` 2.5.9.
- `cargo deny check advisories` passes; the only output is the
pre-existing warning for yanked `libsais-rs` 0.2.2, which this change
does not touch.
- `git diff --check` passes; the diff is 4 insertions and 4 deletions,
limited to the two lockfile entries.
- The published crate checksums match the lockfile: `url` 2.5.9
`f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a`,
`form_urlencoded` 1.2.3
`afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e`.1 parent c76f845 commit b809acc
1 file changed
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments