From 1670859327d5503e8bf7e02c58f93260da4881b4 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 17 Nov 2026 20:58:43 +0800 Subject: [PATCH] fix(deps): ignore unmaintained chrono family advisories (#5073) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `cargo deny` fails on main because RUSTSEC-2026-0543 (`chrono`), RUSTSEC-2026-0555 (`chrono-tz`) and RUSTSEC-2026-0542 (`humantime`) mark the chrono family unmaintained. Add exceptions reviewed on 2026-11-17, with the advisory links and the upstream migration constraint; none of the three is a vulnerability and RustSec lists no patched version for any of them (chrono recommends jiff/time). Dependency paths (from `cargo tree -i` at version fb34b1c7 of main): - `chrono` 0.4.45: arrow 59 / datafusion 55 and the lance stack, across the workspace. - `chrono-tz` 0.10.4: arrow-array → arrow → datafusion/lance. - `humantime` 2.3.0: lance, object_store (through datafusion), and xet-runtime. Clearing the advisories requires the arrow/datafusion/lance ecosystem to migrate off chrono; no upstream fix exists to consume. Also remove the RUSTSEC-2026-0441 `pin-utils` ignore, which the current lockfile no longer needs. Validation on commit 04259a04 (cargo-deny 0.21.0, the version the CI action installs): - Before: `cargo deny check advisories` failed on the three chrono-family advisories, and warned that the pin-utils ignore was not encountered. - After: `cargo deny check advisories bans licenses sources` passes all four checks, matching the Rust CI deny job. - `git diff --check` passes. --- deny.toml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/deny.toml b/deny.toml index 458559936..b10550a54 100644 --- a/deny.toml +++ b/deny.toml @@ -132,13 +132,31 @@ ignore = [ { id = "RUSTSEC-2026-0398", reason = "zstd-safe 7 via arrow-ipc 58; affected seekable API is not enabled" }, { id = "RUSTSEC-2026-0403", reason = "zstd-safe 7 via arrow-ipc 58; affected streaming decoder API is unused" }, - # pin-utils: unmaintained; reviewed 2026-11-05. Transitive via - # aws-smithy-http/runtime/types, including aws-config -> lance-io. - # No safe upgrade exists; clearing requires AWS Smithy to migrate to - # core::pin::pin!, pin-project, or pin-project-lite. Revisit on AWS updates. + # pin-utils: unmaintained; reviewed 2026-11-05, removed 2026-11-17 after + # the lockfile dropped the aws-smithy pins that carried it. # https://rustsec.org/advisories/RUSTSEC-2026-0441 - # https://github.com/rustsec/advisory-db/issues/3314 - { id = "RUSTSEC-2026-0441", reason = "pin-utils unmaintained via AWS Smithy; no safe upgrade, awaiting upstream migration" }, + + # chrono: unmaintained; reviewed 2026-11-17. Informational notice, not a + # vulnerability. Transitive via arrow 59 / datafusion 55 and the lance + # stack throughout the workspace. RustSec lists no patched version and + # recommends jiff/time; clearing it requires the arrow/datafusion/lance + # ecosystem to migrate. + # https://rustsec.org/advisories/RUSTSEC-2026-0543 + { id = "RUSTSEC-2026-0543", reason = "chrono unmaintained via arrow/datafusion/lance; no fixed upstream release, awaiting ecosystem migration" }, + + # chrono-tz: unmaintained; reviewed 2026-11-17. Informational notice, not + # a vulnerability. Transitive via arrow-array → arrow → datafusion/lance. + # No patched version exists; clearing it needs the same ecosystem + # migration off chrono as RUSTSEC-2026-0543. + # https://rustsec.org/advisories/RUSTSEC-2026-0555 + { id = "RUSTSEC-2026-0555", reason = "chrono-tz unmaintained via arrow/datafusion/lance; no fixed upstream release" }, + + # humantime: unmaintained; reviewed 2026-11-17. Informational notice, not + # a vulnerability. Transitive via lance, object_store (through datafusion) + # and xet-runtime. No patched version exists; the advisory follows chrono's + # maintenance status. + # https://rustsec.org/advisories/RUSTSEC-2026-0542 + { id = "RUSTSEC-2026-0542", reason = "humantime unmaintained via lance/object_store/xet-runtime; no fixed upstream release" }, ]