RUSTSEC-2026-0592: Stack overflow in `Url::origin()` on nested `blob:` URLs
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 25/100
調査の方向性
This issue reports a vulnerability in the url crate and links the upstream fix in pull request 1186; it does not name any numtracker files or tests. Start by checking how numtracker depends on url and whether it uses a vulnerable version. Done means confirming whether the dependency is affected and identifying the applicable patched version, 2.5.9 or later.
索引モデルが issue の本文から書いたものです。
説明
Stack overflow in
Url::origin()on nestedblob:URLs
| Details | |
|---|---|
| Package | url |
| Version | 2.5.8 |
| URL | https://github.com/servo/rust-url/pull/1186 |
| Date | 2026-11-20 |
| Patched versions | >=2.5.9 |
In url 2.5.8 and earlier, Url::origin() handled a blob: URL by parsing its path as another URL and calling itself on the result. It did so regardless of the inner URL's scheme, blob included. Each blob: prefix cost one stack frame, with no limit on nesting depth. Url::parse() accepts a URL with 10,000 blob: prefixes followed by https://example.com/ (50,020 bytes in total); calling Url::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 calls Url::origin() on untrusted input. url::quirks::origin() also calls Url::origin(). For example, Servo's URL.origin DOM getter calls url::quirks::origin(), so a script on a page can trigger the overflow.
url 2.5.9 follows the URL Standard: Url::origin() takes the origin of the inner URL only when its scheme is http, https, or file, returns an opaque origin otherwise, and never calls itself. A blob: URL with another inner scheme that previously produced a tuple origin, such as blob:ws://... or blob:blob:https://..., now returns an opaque origin.
See advisory page for additional details.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/numtracker のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
DiamondLightSource/numtracker#309 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
DiamondLightSource/numtracker#278 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
DiamondLightSource/numtracker#336 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
DiamondLightSource/numtracker#335 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
DiamondLightSource/numtracker#333 ·
DiamondLightSource/numtracker の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ardia-browser/ardia#5810 ·
メンテナーはふだん 1 日以内に返信
-
Settings closes without an error when the config file is read-only対応中かも @euvoor が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
martin-olivier/airgorah#273 ·
メンテナーはふだん 14 日以内に返信
-
area/tui platform/macos type/feature version/v2
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
anomalyco/opencode#67490 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
UIUX の修正オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信