Repository navigation
Expand file tree
/
Copy pathosv-scanner.toml
More file actions
99 lines (94 loc) · 5.51 KB
/
Copy pathosv-scanner.toml
File metadata and controls
99 lines (94 loc) · 5.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# OSV-Scanner suppression config for databricks-sql-kernel.
#
# Each [[IgnoredVulns]] entry suppresses a CVE/GHSA ID GLOBALLY across
# all packages (osv-scanner v2.3.8 doesn't support per-package CVE
# scoping). Every entry MUST carry a justification comment explaining
# why the vulnerability doesn't apply to our usage, and a TODO or
# expiry note if the suppression is provisional.
#
# Example:
#
# [[IgnoredVulns]]
# id = "CVE-2024-XXXXX"
# # Justification: <how the vuln does not apply to kernel use, e.g.,
# # "kernel does not parse untrusted YAML" or "kernel does not expose
# # the affected entrypoint">
# # Expiry: 2026-12-31 (if provisional)
#
# TODO(securityScan): the `# Expiry:` convention above is documentation
# only — no workflow step rejects expired suppressions today. Add an
# expiry-lint step to securityScan.yml (PR + cron) that parses these
# comments, fails the run if any `Expiry: <date>` is in the past, and
# emits a step-summary table of upcoming-expiry entries. Tracked
# separately so this file stays empty on the initial landing; once we
# have real suppressions to enforce against, wire it up.
[[IgnoredVulns]]
id = "GHSA-h395-gr6q-cpjc"
# CVE-2026-25537 — a type-confusion bug in jsonwebtoken's claim-VALIDATION
# logic: when DECODING a token, a standard claim (nbf/exp) supplied with the
# wrong JSON type deserializes to FailedToParse, which the validator treats
# like NotPresent and skips the check, letting an attacker bypass nbf/exp.
# Fixed in jsonwebtoken 10.3.0.
#
# Not reachable here: the kernel only SIGNS client assertions
# (`jsonwebtoken::encode` in `src/auth/oauth/jwt_key.rs`) and never decodes
# or validates JWTs — verified: no `jsonwebtoken::decode` / `Validation`
# calls anywhere in `src/`. The vulnerable code path is never invoked.
#
# We stay on 9.x (ring-backed) rather than upgrade: jsonwebtoken 10.x drops
# the ring backend and forces either `rust_crypto` (pulls `rsa` /
# RUSTSEC-2023-0071 into the runtime crate) or `aws_lc_rs` (C library, breaks
# the pure-Rust posture the napi binding depends on). Neither is warranted to
# close a bug we cannot trigger. See the Cargo.toml note on the jsonwebtoken
# pin. Precedent: databricks-sql-go suppresses an unreachable advisory the
# same way (PR #362, GO-2026-5932).
#
# ignoreUntil forces a periodic re-review: when it lapses OSV re-reports the
# finding, and someone must reconfirm we still never decode (and re-evaluate a
# ring-backed 10.x if one exists) before renewing.
ignoreUntil = 2027-02-14
reason = "jsonwebtoken claim-validation bug (CVE-2026-25537) is in the decode path; the kernel only signs, never decodes/validates JWTs (verified: no decode/Validation calls in src/). Upgrade to 10.x deferred — it forces rust_crypto (rsa/RUSTSEC-2023-0071 in runtime) or aws_lc_rs (C dep). Re-review on expiry."
[[IgnoredVulns]]
id = "RUSTSEC-2026-0258"
# "h2 unbounded empty DATA frames" — a DoS advisory in `h2 0.4.15`, pulled in
# transitively via `hyper` <- `reqwest` (`cargo tree -i h2`). Not a direct
# dependency and unrelated to this crate's code; pre-existing on `main` (fires
# against the shared reqwest/hyper stack, not this PR).
#
# Not reachable in the way the advisory describes: it concerns a SERVER
# accepting a flood of empty DATA frames; the kernel is an HTTP *client* to
# Databricks SEA and never runs an h2 server, so the affected entrypoint is
# not exposed.
#
# Cannot be cleared by a bump: 0.4.15 is already the latest 0.4.x
# (`cargo update -p h2` is a no-op); clearing it needs an upstream
# `reqwest`/`hyper` release that pulls the fixed `h2`.
#
# ignoreUntil forces periodic re-review: when it lapses OSV re-reports the
# finding, and someone must reconfirm the client-only posture (and re-check
# for a reqwest/hyper release carrying the fix) before renewing.
ignoreUntil = 2027-02-14
reason = "h2 (RUSTSEC-2026-0258) DoS is a server-side empty-DATA-frame flood; the kernel is an HTTP client only and runs no h2 server. Transitive via reqwest/hyper, pre-existing on main, latest 0.4.x so no bump available. Re-review on expiry."
[[IgnoredVulns]]
id = "RUSTSEC-2026-0543"
# chrono is classified as unmaintained; this advisory does not report a
# vulnerability. The kernel exposes chrono types in its public Rust API and
# Arrow also depends on chrono, so removal requires a coordinated API and
# ecosystem migration rather than a security patch.
ignoreUntil = 2027-02-28
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."
[[IgnoredVulns]]
id = "RUSTSEC-2026-0555"
# Maintenance-only advisory; no reported vulnerability. Arrow's named
# timezone support needs chrono-tz, including in Arrow 60.2.0.
ignoreUntil = 2027-02-28
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."
[[IgnoredVulns]]
id = "RUSTSEC-2026-0592"
# The vulnerable path is `url::Url::origin()` on an attacker-controlled,
# deeply nested `blob:` URL. The kernel never calls `Url::origin()` and does
# not accept blob URLs. url 2.5.9 fixes the issue, but the required Databricks
# package proxy does not yet carry that release. Keep this exception short and
# replace it with `cargo update -p url --precise 2.5.9` once available.
ignoreUntil = 2026-12-15
reason = "The kernel never calls Url::origin() or accepts blob URLs, so RUSTSEC-2026-0592 is unreachable. Temporary until patched url 2.5.9 reaches the required Databricks package proxy."