Skip to content

fix(deps): bump url to 2.5.9 for the nested blob: origin advisory - #565

Merged
zijiren233 merged 1 commit into
synctv-org:mainfrom
zijiren233:fix/url-2.5.9
Nov 22, 2026
Merged

zijiren233 merged 1 commit into
synctv-org:mainfrom
zijiren233:fix/url-2.5.9

Conversation

@zijiren233

Copy link
Copy Markdown
Contributor

RUSTSEC-2026-0592: Url::origin() in url ≤ 2.5.8 recursed once per blob: prefix with no depth limit, so an untrusted URL with 10,000 blob: prefixes overflows a spawned thread's default 2 MiB stack and aborts the whole process (catch_unwind cannot catch it). url reaches this workspace through many direct and transitive consumers, including untrusted-input paths.

url 2.5.9 follows the URL Standard: the inner URL's origin is taken only for http/https/file schemes, opaque otherwise, and never recursively.

Bumps the pinned workspace dependency =2.5.8 → =2.5.9. Verified locally: make check and make deny-check pass (advisories ok).

RUSTSEC-2026-0592 reports that Url::origin() recursed once per blob:
prefix with no depth limit, so an untrusted URL with 10,000 blob:
prefixes overflows a spawned thread's default stack and aborts the
process. url 2.5.9 follows the URL Standard instead: the inner URL's
origin is only taken for http, https, or file schemes, opaque
otherwise, and never recursively. Bump the pinned workspace dependency
to 2.5.9.
@zijiren233
zijiren233 merged commit cf3b88f into synctv-org:main Nov 22, 2026
20 checks passed
zijiren233 added a commit that referenced this pull request Nov 22, 2026
Bump workspace version to 1.0.18 via scripts/set-release-version.sh
(Cargo workspace, Cargo.lock, Helm chart, docs metadata).

- Pin embedded Web UI to synctv-app v1.1.36
(72438dfb3e66028f21baf6b80afd59309e71a80c)

Includes main since v1.0.17: dependency refresh (#561), advisory ignore
cleanup (#563), member permission override writes restricted to
creator-conferred flows (#564), url 2.5.9 security bump (#565).
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