Repository navigation
chore(deps): update rust crate url to 2.5.9 [security] - #26
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
This PR contains the following updates:
2.2.0→2.5.9Stack overflow in
Url::origin()on nestedblob:URLsGHSA-hrj5-67jp-wqp9 / RUSTSEC-2026-0592
More information
Details
In
url2.5.8 and earlier,Url::origin()handled ablob:URL by parsing its path as another URL and calling itself on the result. It did so regardless of the inner URL's scheme,blobincluded. Eachblob:prefix cost one stack frame, with no limit on nesting depth.Url::parse()accepts a URL with 10,000blob:prefixes followed byhttps://example.com/(50,020 bytes in total); callingUrl::origin()on it overflowed the default 2 MiB stack of a spawned thread.A stack overflow aborts the whole process, and
catch_unwind()does not catch it. One such URL crashes any program that callsUrl::origin()on untrusted input.url::quirks::origin()also callsUrl::origin(). For example, Servo'sURL.originDOM getter callsurl::quirks::origin(), so a script on a page can trigger the overflow.url2.5.9 follows the URL Standard:Url::origin()takes the origin of the inner URL only when its scheme ishttp,https, orfile, returns an opaque origin otherwise, and never calls itself. Ablob:URL with another inner scheme that previously produced a tuple origin, such asblob:ws://...orblob:blob:https://..., now returns an opaque origin.Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
servo/rust-url (url)
v2.5.9Compare Source
v2.5.8Compare Source
v2.5.7What's Changed
v.2.5.6
v.2.5.7
New Contributors
Full Changelog: servo/rust-url@v2.5.5...v2.5.7
v2.5.5Compare Source
What's Changed
Mimeby @mrobinson in #1047cargo clippy --fix -- -Wclippy::use_selfby @mrobinson in #1048Url::domaindocs to show that it includes subdomain by @supercoolspy in #1057New Contributors
Full Changelog: servo/rust-url@v2.5.4...v2.5.5
v2.5.4Compare Source
What's Changed
Full Changelog: servo/rust-url@v2.5.3...v2.5.4
v2.5.3Compare Source
What's Changed
no_stdsupport for theurlcrate by @domenukk in #831wasm32-wasip2on the stable channel by @brooksmtownsend in #983New Contributors
Full Changelog: servo/rust-url@v2.5.2...v2.5.3
v2.5.2Compare Source
What's Changed
xn--55555577by @Byron in #940This release reverts recent IDNA changes and the MSRV back to rust 1.56
The idna v1.0.1 crate now lives on the idna-v1x branch.
Full Changelog: servo/rust-url@v2.5.1...v2.5.2
v2.5.1Compare Source
What's Changed
masterbranch tomainby @mrobinson in #914New Contributors
Full Changelog: servo/rust-url@v2.5.0...v2.5.1
v2.5.0Compare Source
What's Changed
Positiondocs by @sprocklem in #875New Contributors
Full Changelog: servo/rust-url@v2.4.1...v2.5.0
v2.4.1Compare Source
What's Changed
--generate-link-to-definitionoption when building on docs.rs by @GuillaumeGomez in #858New Contributors
Full Changelog: servo/rust-url@v2.4.0...v2.4.1
v2.4.0Compare Source
Crate version bump
What's Changed
no_stdsupport forform_urlencoded,data-urlandidnaby @madsmtm in #722New Contributors
Full Changelog: servo/rust-url@v2.3.1...v2.4.0
v2.3.1Compare Source
v2.3.0Compare Source
v2.2.2Compare Source
v2.2.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.