Repository navigation
fix(deps): update url to 2.5.9 for RUSTSEC-2026-0592 - #11370
Merged
Merged
Conversation
`Cargo.lock` locks `url` 2.5.8, which RUSTSEC-2026-0592 flags: `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 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. `url` is transitive, 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. `cargo metadata --locked`, `cargo tree -i [email protected] --locked` and `cargo deny check advisories` pass. This clears the cargo-deny failure that blocks #11365; the separate warning for yanked `libsais-rs` 0.2.2 remains.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
BubbleCal
added a commit
that referenced
this pull request
Nov 22, 2026
Reuse the root lockfile fix from #11370 and apply the same package updates to Python and JNI for RUSTSEC-2026-0592.
Integrate main c76f845 (beta.27) so the dependency fix is up to date with the base branch. The merge keeps main's workspace version bumps and retains the two-entry lockfile update: url 2.5.9 and form_urlencoded 1.2.3.
BubbleCal
approved these changes
Nov 22, 2026
Xuanwo
added a commit
that referenced
this pull request
Nov 23, 2026
`ObjectStoreRegistry` keeps the scoped storage-options accessor alive in both its `active_stores` and `building` maps. For a provider-backed accessor (namespace create), that accessor owns the namespace client and its session, which owns the same registry, so dropping the table and connection cannot release either. Weak store values and periodic pruning do not break the cycle. This blocks the valid empty nested-namespace create in lancedb/lancedb-c#151 (`79f8f56`, `tests/test_table.cpp:604`). Both maps now share a private key that stores the already resolved scoped `accessor_id()` instead of the accessor `Arc`; the full params still drive construction and refresh. Cache identity for the base/provider/wrapper, metrics prefix, scheduler mode and validation, and singleflight/retry behavior are unchanged. The added regression uses the local file provider and an options provider that holds the same registry. It fails on `f9fd19e` with `the object store cache retained the storage options provider` and passes with this change. ## Verification On sophon-blob, exact `f2d3971`: `cargo test -p lance-io --lib --profile ci test_cache_does_not_retain_storage_options_provider -- --nocapture` ``` 1 passed; 0 failed ``` The same test binary ran `object_store::providers::tests`: 21 passed, 0 failed, including the base-scoped options, cache statistics, pruning, and singleflight/retry tests. The same regression on parent `f9fd19e` fails with the retention assertion. `cargo fmt --all -- --check`, `git diff --check`, and `cargo metadata --locked --no-deps` passed. Hosted Clippy, rustdoc, MSRV, Linux, macOS, Windows, Python, Java, and compatibility checks passed on `f2d3971`. The dependency check fails on RUSTSEC-2026-0592 in the `url 2.5.8` already locked on `main`. The same check reports the `libsais-rs 0.2.2` yank as a warning. #11370 updates the root lock to the patched release.
BubbleCal
added a commit
that referenced
this pull request
Nov 23, 2026
## Changes Configure read, write, delete, and list AIMD controllers independently. Each field takes the category storage option, category environment variable, generic storage option, generic environment variable, then the provider default, in that order. The generic burst and retry settings still apply to every category. Raise the read ceiling to 11,000 requests/s for general-purpose S3 buckets using the built-in Amazon S3 client and default AWS endpoint. The read controller starts at 2,000 requests/s and increases by 300 requests/s per success window. The write, delete, and list controllers use a 10,000 requests/s ceiling. The higher read ceiling follows the published S3 capacity guidance. [AWS announcement](https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-increases-read-request-rate/) Recognize a bodyless HTTP 503 even when the underlying object_store client has no retries. A live S3 503 escaped the baseline AIMD wrapper during the sweep. The regression test verifies that the wrapper retries a bodyless S3 HEAD failure. ## Historical AWS measurements Same-region general-purpose S3 from an x86_64 c8i.8xlarge in us-east-1. The baseline was `f9fd19ed` and the measured feature build was `6914cbe6`, both using Rust 1.98.1, release-no-lto, and the native Amazon S3 provider. The figures describe those two builds. CI is validating the updated head `4f70dbdf`, whose base includes the upstream `url` 2.5.9 fix. The fixed synthetic fixture used 128 objects of 4 MiB each. The AIMD comparison used 4 KiB range reads, 1,024 in-flight operations per process, and 55-second runs from cold client processes. Single-process values use two runs per build in alternating order. The two-process comparison ran one pair per build. | Scenario / metric | Measured baseline `f9fd19ed` | Measured feature build `6914cbe6` | Observed ratio | | --- | ---: | ---: | ---: | | Single process, first 30 s throughput (higher is better) | 6,307 req/s | 6,346 req/s | 1.006x | | Single process, final 15 s throughput (higher is better) | 10,000 req/s | 11,000 req/s | 1.100x | | Single process, final 15 s median per-second P99 (lower is better) | 136.2 ms | 125.0 ms | 1.089x | | Two processes, final 15 s throughput (higher is better) | 20,001 req/s | 22,001 req/s | 1.100x | The open-loop GET and HEAD ramps reached 29.9–30.0k successful requests/s for both grouped and 24-bit distributed layouts, with zero HTTP 503 responses. The hottest single-object trial reached 46.6k successful requests/s during its top step. The baseline 14k sweep saw two isolated HTTP 503 responses. The measured feature build's separate hot-object stress trial saw two HTTP 503 responses and zero escaped throttle errors. That stress trial also saw one independent HTTP 500. ## Sophon impact The AIMD budget is per process and per bucket/store configuration. Separate PEs can send overlapping traffic to one S3 prefix. The dual-process trial measured that composition on one host. Tiered cache hits serve from the cache, and origin reads can use the new ceiling. Job Framework's generic retry settings keep their existing meaning. Keep the 64-slot I/O default. The 8-scheduler, 1 MiB random-read case delivered 1,636 MiB/s at 64 slots and 1,305 MiB/s at 128 slots. Peak process RSS was 850 MiB and 1,555 MiB, respectively. Values are medians of three runs. This exercises the Lance scheduler and serves as a PE concurrency model. Sophon's fallback buffer budget and fragment readahead grow with the I/O slot count. ## Validation Added coverage for config precedence, provider defaults, and the S3 HEAD retry regression. Local formatting and diff checks passed. Rust correctness checks run in GitHub CI. The branch now includes the upstream fix for RUSTSEC-2026-0592. Checks on `4f70dbdf` are pending. [Dependency fix](#11370)
Xuanwo
pushed a commit
that referenced
this pull request
Nov 24, 2026
#11370 moved the root `Cargo.lock` to `url` 2.5.9 for [RUSTSEC-2026-0592](https://rustsec.org/advisories/RUSTSEC-2026-0592), but `python/Cargo.lock` and `java/lance-jni/Cargo.lock` still lock 2.5.8. Those two lockfiles are outside the workspace, so `cargo-deny` never sees them, yet they are what the pylance wheels and the Java JNI library are built from (`java-publish.yml` runs `cargo build --release --locked`). Both graphs include `opendal-http-transport-reqwest`, which calls `Url::origin()` on redirect targets, the function the advisory is about. This bumps `url` to 2.5.9 and `form_urlencoded` to 1.2.3 in those two lockfiles, matching the root. Lockfile-only; no `Cargo.toml` requirement moves. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This was referenced Nov 25, 2026
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.
Cargo.lockonmainlocksurl2.5.8, which RUSTSEC-2026-0592 marks as vulnerable:Url::origin()recurses once per nestedblob: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 fails with:This changes only the lockfile.
urlmoves from 2.5.8 to 2.5.9, andform_urlencodedfrom 1.2.2 to 1.2.3, the versionurl2.5.9 requires (^1.2.3).urlis transitive here and every dependent accepts a compatible range, soCargo.toml, the feature set and the 1.95 toolchain are unchanged. No advisory ignore is added.Validation at this head:
cargo metadata --lockedandcargo +1.95.0 metadata --locked --no-depspass.cargo tree -i [email protected] --lockedresolves oneurl2.5.9.cargo deny check advisoriespasses; the only output is the pre-existing warning for yankedlibsais-rs0.2.2, which this change does not touch.git diff --checkpasses; the diff is 4 insertions and 4 deletions, limited to the two lockfile entries.url2.5.9f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a,form_urlencoded1.2.3afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e.