Repository navigation
ci: bump rustls to 0.23.46 and ignore the new webpki advisories - #10193
Merged
Merged
Conversation
rustls 0.23.46 fixes RUSTSEC-2026-0346 to 0349, which lance-format#9985 ignored while 0.23.46 was under 48 hours old. It is old enough now, so this bumps rustls from 0.23.45 to 0.23.46 in all three lockfiles and removes those four ignores. This also ignores RUSTSEC-2026-0381 (webpki-roots) and RUSTSEC-2026-0382 (rustls-webpki). The fixes are webpki-roots 1.0.10 and rustls-webpki 0.103.16, which turn 48 hours old on 2026-10-21 20:11 UTC and 2026-10-22 08:58 UTC. The examples also pull in webpki-roots 0.26.11 through hf-hub 0.4. It has no patched release and only re-exports 1.x, so the 0381 ignore stays after the 1.x bump. RUSTSEC-2026-0383 (webpki-root-certs) needs no ignore: only rustls-platform-verifier uses it, on wasm32, which deny.toml does not check. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Comment on lines
+89
to
+90
| { id = "RUSTSEC-2026-0381", reason = "fixed `webpki-roots` 1.0.10 is under 48 hours old, cannot upgrade due to our release age policy; 0.26.11 comes from hf-hub 0.4 in examples and only re-exports 1.x" }, | ||
| { id = "RUSTSEC-2026-0382", reason = "fixed `rustls-webpki` 0.103.16 is under 48 hours old, cannot upgrade due to our release age policy" }, |
Contributor
There was a problem hiding this comment.
These exceptions retain a TLS authentication risk: RustSec reports that the affected verifier may accept paths through emSign intermediates whose private keys are now known, when the configured roots permit that path. The vulnerable dependency versions are unchanged here, so this is a non-blocking residual risk. The follow-up mitigation is webpki-roots 1.0.10 after 2026-10-21 20:11:32 UTC and rustls-webpki 0.103.16 after 2026-10-22 08:58:28 UTC; the latter rejects these paths even with older roots.
Xuanwo
approved these changes
Oct 21, 2026
Xuanwo
added a commit
to sarwarbhuiyan/lance
that referenced
this pull request
Oct 22, 2026
…main Main bumped rustls 0.23.46 and the trust-store pins (webpki-roots and webpki-root-certs 1.0.10, rustls-webpki 0.103.16) in lance-format#10193 and lance-format#10215; this PR's lockfile predates those changes, so cargo-deny fails on RUSTSEC-2026-0381/0382. Mirror the same root lockfile pins, deny.toml ignores, and dependency-age allowlist entries.
twmb
added a commit
to twmb/lance
that referenced
this pull request
Oct 22, 2026
lance-format#9985 ignored four rustls advisories until the fix was 48 hours old, as ci/check_dependency_age.py requires. Nothing brought us back once the fix was old enough, and rustls stayed on the vulnerable 0.23.45 for a week, until lance-format#10193. Every advisory ignore's reason now starts with `expires YYYY-MM-DD:` or `no fix:`. ci/check_advisory_ignores.py runs in the cargo-deny job and fails on a reason without a marker, a malformed date, or an expires day (UTC) that has passed. deny.toml also sets unused-ignored-advisory = "deny", so cargo-deny fails on an ignore that no longer matches a crate. The existing reasons are rewritten from the advisories and Cargo.lock. The quick-xml one was stale: object_store and opendal are on 0.41 now, and what remains is lance-namespace-impls asking for 0.40 and pprof's inferno pulling in 0.26. The RUSTSEC-2026-0381 and 0382 ignores match nothing now, so they are removed: lance-format#10215 moved rustls-webpki to the fixed 0.103.16, and the advisory lists webpki-roots 0.26.11, which only re-exports 1.x, as unaffected. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
westonpace
pushed a commit
that referenced
this pull request
Oct 22, 2026
#9985 ignored four rustls advisories until the fix was 48 hours old. Nothing brought us back once the fix was old enough, and rustls stayed on the vulnerable 0.23.45 for a week, until #10193. This makes CI fail when an advisory ignore outlives its reason. - Every `[advisories] ignore` reason in `deny.toml` must start with `expires YYYY-MM-DD:` (an ignore we expect to drop, about a week out for a fix waiting on the 48 hour rule) or `no fix:` (nothing to upgrade to). - `ci/check_advisory_ignores.py` runs in the cargo-deny job. It fails on a missing marker, a malformed date, or an `expires` date (UTC) that has passed, and says to upgrade and remove the ignore or move the date with a reason. - `unused-ignored-advisory = "deny"` makes cargo-deny fail on an ignore that no longer matches any crate. - The existing reasons are rewritten from the advisories and `Cargo.lock`. The quick-xml one was stale: object_store and opendal now use 0.41, and the remaining copies come from lance-namespace-impls (0.40) and pprof's inferno (0.26). - #10215 moved to the fixed rustls-webpki 0.103.16 and webpki-roots 1.0.10, so the RUSTSEC-2026-0381 and 0382 ignores no longer match any crate and are removed. The webpki versions from #10215 are past the 48 hour rule now, so their `ci/dependency-age-allowlist.toml` entries are removed too. - While at it, this moves rust/examples to hf-hub 0.5.0 and tokenizers 0.22.2, because that drops the number_prefix ignore and the webpki-roots 0.26 shim. hf-hub now uses only its `ureq` feature, which also drops native-tls and openssl from `Cargo.lock`. - Also while at it, rust/examples enables parquet's `snap` feature, because `llm_dataset_creation` failed reading the snappy-compressed wikitext files with "Disabled feature at compile time: snap". --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
rustls 0.23.46 fixes RUSTSEC-2026-0346 to 0349, which #9985 ignored while
0.23.46 was under 48 hours old. It is old enough now, so this bumps rustls
from 0.23.45 to 0.23.46 in all three lockfiles and removes those four ignores.
This also ignores RUSTSEC-2026-0381 (webpki-roots) and RUSTSEC-2026-0382
(rustls-webpki). The fixes are webpki-roots 1.0.10 and rustls-webpki 0.103.16,
which turn 48 hours old on 2026-10-21 20:11 UTC and 2026-10-22 08:58 UTC. The
examples also pull in webpki-roots 0.26.11 through hf-hub 0.4. It has no
patched release and only re-exports 1.x, so the 0381 ignore stays after the
1.x bump. RUSTSEC-2026-0383 (webpki-root-certs) needs no ignore: only
rustls-platform-verifier uses it, on wasm32, which deny.toml does not check.
Changelog
None.