Skip to content

fix(deps): bump url to 2.5.9 (RUSTSEC-2026-0592) - #182

Merged
yohei1126 merged 1 commit into
mainfrom
fix/osv-url-2.5.9
Nov 23, 2026
Merged

yohei1126 merged 1 commit into
mainfrom
fix/osv-url-2.5.9

Conversation

@yohei1126

Copy link
Copy Markdown
Collaborator

Summary

Fixes the scheduled OSV-Scanner / scan-scheduled failure on main (Actions run 45135924828, 63f80db) caused by the transitive dependency url 2.5.8.

  • Finding: RUSTSEC-2026-0592 (crates.io url 2.5.8; stack overflow in Url::origin() on nested blob: URLs), fixed in 2.5.9.
  • Source: the workspace Cargo.lock (the only lockfile that pins url; bindings and wasm crates share it).
  • Path: url is transitive via neo4rs 0.9.0-rc.11 ← ontographia-cli. No other parents, and no direct url pin in any Cargo.toml.

The other three advisories already filtered in osv-scanner.toml (RUSTSEC-2024-0436, RUSTSEC-2026-0543, RUSTSEC-2026-0555) are unchanged.

Change

  • Refresh Cargo.lock so url resolves to 2.5.9.
  • form_urlencoded moves from 1.2.2 to 1.2.3 because url 2.5.9 requires form_urlencoded 1.2.3. No other lockfile entries change.

Lockfile-only. No changes to CI or osv-scanner.toml (the advisory is not silenced).

Verification (box, Linux x86_64, rustc 1.100.0)

$ cargo update -p url --precise 2.5.9
    Updating form_urlencoded v1.2.2 -> v1.2.3
    Updating url v2.5.8 -> v2.5.9
$ rg -n 'name = "url"' -A2 Cargo.lock
1685:name = "url"
1686-version = "2.5.9"
$ find . -name Cargo.lock -not -path './.git/*' -not -path './target/*'
./Cargo.lock
$ cargo tree -i url --prefix indent
url v2.5.9
└── neo4rs v0.9.0-rc.11
    └── ontographia-cli v0.1.10
$ cargo check --workspace --locked
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.99s
$ cargo test --workspace --locked
111 passed; 0 failed
$ osv-scanner scan -r ./
RUSTSEC-2026-0543 has been filtered out because: ...
RUSTSEC-2026-0555 has been filtered out because: ...
RUSTSEC-2024-0436 has been filtered out because: ...
Filtered 3 vulnerabilities from output
No issues found

Note

CI OSV should re-run on this PR (scan-pr) and, once merged, on main (scan-scheduled/push) to close the default-branch Code Scanning alert.

Addresses the OSV-Scanner failure on main (Actions run 45135924828):
crates.io url 2.5.8 is vulnerable per RUSTSEC-2026-0592 (stack overflow
in Url::origin() on nested blob: URLs), fixed in 2.5.9. url is
transitive via neo4rs 0.9.0-rc.11 (ontographia-cli).

Refresh Cargo.lock so url resolves to 2.5.9. form_urlencoded moves
from 1.2.2 to 1.2.3 as required by that release. Existing OSV ignores
are unchanged.
@yohei1126
yohei1126 marked this pull request as ready for review November 23, 2026 14:09
@yohei1126
yohei1126 merged commit 616c6b4 into main Nov 23, 2026
21 checks passed
@yohei1126
yohei1126 deleted the fix/osv-url-2.5.9 branch November 23, 2026 14:09
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