Skip to content

Commit 5869200

Browse files
authored
chore(security): temporarily ignore chrono-tz maintenance advisory (#523)
## Description Temporarily suppress `RUSTSEC-2026-0555` in OSV and cargo-deny. Named timezone support added in #515 pulls in `chrono-tz`, causing the [Security Scan on #520](https://github.com/databricks/databricks-sql-kernel/actions/runs/46588913780/job/142441581043) to fail. The advisory reports that the crate is unmaintained, with no reported vulnerability. The OSV exception expires on 2027-02-28, with a matching review date in cargo-deny. Synchronize the root `NOTICE` with `adbc/NOTICE`, preserving the four timezone dependency attributions added in #515 so CI's legal-file comparison passes. ## Testing Cargo-deny 0.20.2 passes advisories, bans, licenses, and sources for all four workspaces. LICENSE/NOTICE comparisons and package NOTICE inclusion checks pass. Replayed OSV-Scanner 2.3.8 against all four SBOMs from the failing job: one unsuppressed finding before, zero after. Formatting, Clippy, `git diff --check`, and the full Rust suite pass (1,371 passed, 66 ignored, including doctests). ## Additional notes The latest [Arrow 60.2.0 still uses chrono-tz](https://github.com/apache/arrow-rs/blob/60.2.0/arrow-array/Cargo.toml) for named timezones, so upgrading Arrow does not remove this advisory. --------- Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
1 parent 86d01cc commit 5869200

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

‎NOTICE‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ Project URL: https://github.com/chronotope/chrono
3232
Copyright: Copyright (c) 2014--2026, Kang Seonghoon and contributors; Copyright (c) 2014, Kang Seonghoon
3333

3434

35+
Package: chrono-tz
36+
Project URL: https://github.com/chronotope/chrono-tz
37+
Copyright: Copyright (c) 2016-2024 Benjamin Sago & the chronotope maintainers
38+
39+
3540
Package: dashmap
3641
Project URL: https://github.com/xacrimon/dashmap
3742
Copyright: Copyright (c) 2025 Joel Wejdenstål
@@ -107,6 +112,16 @@ Project URL: https://github.com/RustCrypto/password-hashes
107112
Copyright: Copyright (c) 2017 Artyom Pavlov; Copyright (c) 2018-2023 The RustCrypto Project Developers
108113

109114

115+
Package: phf
116+
Project URL: https://github.com/rust-phf/rust-phf
117+
Copyright: Copyright (c) 2014-2022 Steven Fackler, Yuki Okushi
118+
119+
120+
Package: phf_shared
121+
Project URL: https://github.com/rust-phf/rust-phf
122+
Copyright: Copyright (c) 2014-2022 Steven Fackler, Yuki Okushi
123+
124+
110125
Package: pkcs8
111126
Project URL: https://github.com/RustCrypto/formats/tree/master/pkcs8
112127
Copyright: Copyright (c) 2020-2023 The RustCrypto Project Developers
@@ -142,6 +157,11 @@ Project URL: https://github.com/serde-rs/json
142157
Copyright: Copyright serde_json Authors.
143158

144159

160+
Package: siphasher
161+
Project URL: https://github.com/jedisct1/rust-siphash
162+
Copyright: Copyright 2012-2016 The Rust Project Developers; Copyright 2016-2026 Frank Denis
163+
164+
145165
Package: thiserror
146166
Project URL: https://github.com/dtolnay/thiserror
147167
Copyright: Copyright thiserror Authors.

‎deny.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ ignore = [
5454
# Arrow, so replacing it is an API and ecosystem migration rather than a
5555
# security patch. Re-evaluate by 2027-02-28 or when Arrow migrates.
5656
"RUSTSEC-2026-0543",
57+
# RUSTSEC-2026-0555 marks chrono-tz as unmaintained, not vulnerable.
58+
# Required for ADBC's named Arrow timezones; Arrow 60.2.0 still uses it.
59+
# Re-evaluate by 2027-02-28 or when Arrow replaces its timezone backend.
60+
"RUSTSEC-2026-0555",
5761
# RUSTSEC-2026-0592 is a stack overflow in `url::Url::origin()` for deeply
5862
# nested `blob:` URLs. The kernel never calls `Url::origin()` and does not
5963
# accept blob URLs. url 2.5.9 contains the fix, but it is not yet available

‎osv-scanner.toml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ id = "RUSTSEC-2026-0543"
8181
ignoreUntil = 2027-02-28
8282
reason = "chrono is marked unmaintained, not vulnerable. It is part of the kernel's public API and the Arrow dependency graph; reassess replacement with the API/Arrow migration by expiry."
8383

84+
[[IgnoredVulns]]
85+
id = "RUSTSEC-2026-0555"
86+
# Maintenance-only advisory; no reported vulnerability. Arrow's named
87+
# timezone support needs chrono-tz, including in Arrow 60.2.0.
88+
ignoreUntil = 2027-02-28
89+
reason = "chrono-tz is unmaintained, with no reported vulnerability. Required by Arrow for ADBC named timezones; Arrow 60.2.0 still depends on it. Reassess the Arrow timezone backend by expiry."
90+
8491
[[IgnoredVulns]]
8592
id = "RUSTSEC-2026-0592"
8693
# The vulnerable path is `url::Url::origin()` on an attacker-controlled,

0 commit comments

Comments
 (0)