Files
buzz/deny.toml
Tom Brow 65b031bcc8 ci: ignore RUSTSEC-2026-0600 (kube's unused openssl-tls connector) (#9969)
## Summary

A new advisory,
[RUSTSEC-2026-0600](https://rustsec.org/advisories/RUSTSEC-2026-0600),
covers kube's `openssl-tls` connector: with a cluster CA configured, it
also trusts OpenSSL's default CA store. cargo-deny's advisory check now
fails on main and on every PR.

We don't build that connector. The workspace pins `kube` with
`default-features = false, features = ["client", "rustls-tls"]`, and
`kube-client` 2.0.1 in the lockfile depends on `hyper-rustls`/`rustls`
with no OpenSSL. This adds the advisory to `deny.toml`'s ignore list
with that reason, to be removed on the kube bump to >=4.2.1.

### Regressions

None: no code or dependency changes, and the ignored advisory applies
only to a connector that isn't compiled in.

### Validation

`cargo-deny check advisories` passes locally with this change
(`advisories ok`).

Signed-off-by: Tom Brow <tomb@block.xyz>
Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost>
2026-11-25 17:50:31 +00:00

174 lines
11 KiB
TOML

[advisories]
ignore = [
# SQLite's crafted database/WAL disclosure requires opening files supplied
# by an attacker. In this workspace SQLite is only mesh-llm-log-store's
# private local log database, through the examples-only buzz-mesh-smoke
# dev-dependencies; it is not linked into the relay. mesh-llm v0.76.2
# requires rusqlite ^0.40, so libsqlite3-sys 0.39 is not yet selectable.
# Remove when mesh-llm moves to rusqlite 0.41; bans below fence this path.
{ id = "RUSTSEC-2026-0459", reason = "mesh smoke harness private local log database only; no untrusted database/WAL import; upstream rusqlite ^0.40 prevents patched SQLite" },
# rmcp 1.8 is used only by buzz-agent, with default-features=false and
# client + transport-child-process. Neither affected HTTP client transport
# is compiled. All rmcp 3 consumers use the patched 3.9.0 lockfile entry.
# Remove on buzz-agent's rmcp 3 migration; the ban below fences consumers.
{ id = "RUSTSEC-2026-0462", reason = "rmcp 1.8 only in buzz-agent's subprocess client; vulnerable Streamable HTTP transport features disabled; rmcp 3 updated to 3.9.0" },
# instant 0.1.13 — unmaintained crate. Transitive dep: nostr → instant.
# Will be resolved when nostr crate updates its dependencies.
{ id = "RUSTSEC-2024-0384", reason = "transitive dep via nostr; no upstream fix available" },
# paste 1.0.15 — unmaintained. Transitive dep: mesh-llm → iroh → netlink-* → paste.
# No safe upgrade available; tracked for upstream (iroh/netlink) replacement.
{ id = "RUSTSEC-2024-0436", reason = "transitive dep via mesh-llm → iroh → netlink; no upstream fix available" },
# quick-xml < 0.41: quadratic runtime on duplicate-attribute check (0194) and
# unbounded namespace-declaration allocation in NsReader (0195). Both DoS-class,
# requiring attacker-controlled XML. Our two locked versions only parse trusted
# input: 0.38.4 (rust-s3/aws-creds — responses from our own S3/MinIO endpoint)
# and 0.39.4 (mesh-llm → iroh → netdev → plist — local macOS system plists).
# Patched release (>= 0.41.0) is unreachable until rust-s3 and plist/netdev bump;
# remove these when upstream catches up.
{ id = "RUSTSEC-2026-0194", reason = "transitive via rust-s3 and mesh-llm→plist; trusted-input XML only; no upstream fix available yet" },
{ id = "RUSTSEC-2026-0195", reason = "transitive via rust-s3 and mesh-llm→plist; trusted-input XML only; no upstream fix available yet" },
# chrono and humantime are unmaintained, not vulnerable (chrono maintainers
# announced the end of maintenance; humantime wraps chrono). chrono is a
# direct workspace dependency of most buzz crates; humantime arrives only via
# buzz-mesh-smoke → mesh-llm → hf-xet → xet-runtime. No maintained release
# exists; removal needs a migration to `time` or `jiff`.
{ id = "RUSTSEC-2026-0543", reason = "chrono unmaintained, not vulnerable; direct workspace dependency; removal needs a time/jiff migration" },
{ id = "RUSTSEC-2026-0542", reason = "humantime unmaintained, not vulnerable; via buzz-mesh-smoke → mesh-llm → xet-runtime; no maintained release" },
# unsafe-libyaml 0.2.11 — unmaintained (repository archived 2024-03-25), not a
# vulnerability report. Transitive dep: serde_yaml → unsafe-libyaml. The serde_yaml_ng
# fork uses the same crate, so removing it means migrating YAML parsing in
# buzz-agent, buzz-persona, buzz-relay, buzz-workflow and desktop.
{ id = "RUSTSEC-2024-0449", reason = "transitive via serde_yaml; unmaintained, not vulnerable; removal needs a YAML parser migration" },
# NetEQ =0.8.3 declares ringbuf but its published Rust sources never use it,
# so Consumer::skip/clear and their panic-unsafe Drop path are unreachable.
# NetEQ 0.9.1 still declares ringbuf 0.3; ringbuf itself is fixed in 0.5.2.
# Keep the exact NetEQ pin and the wrapper ban below together. Re-audit or
# remove this exception when NetEQ removes/updates the unused dependency.
{ id = "RUSTSEC-2026-0293", reason = "unused dependency of audited, exactly pinned neteq 0.8.3; no Rust references to ringbuf; other consumers forbidden by bans.deny" },
# zip 8.6.0 < 9 advisories. Only path: buzz-mesh-smoke → mesh-llm v0.76.2 →
# mesh-llm-host-runtime / mesh-llm-plugin-manager / mesh-llm-system → zip 8,
# built with only the `deflate` feature. mesh-llm reads archives only through
# ZipArchive and copies entries by hand, so none of the affected paths run:
# - extract() keeps setuid/setgid bits (0367), creates escaping symlinks
# (0368, 0546), and applies permissions through symlinks (0369);
# - symlink target sizing aborts on a crafted length (0429);
# - AES entries can be altered without error (0545; `aes-crypto` is off);
# - `legacy-zip` preallocation aborts (0547; feature is off);
# - ZipStreamReader and ZipArchive can disagree on names (0548; no
# ZipStreamReader use).
# mesh-llm v0.79.0 ships zip 9.0.5, but that release drops mesh-llm-sdk's
# `client` feature, so the bump needs an SDK migration in buzz-mesh-smoke and
# desktop. Remove these on that bump; recheck if mesh-llm starts extracting.
{ id = "RUSTSEC-2026-0367", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0368", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0369", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0429", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0545", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0546", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0547", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
{ id = "RUSTSEC-2026-0548", reason = "zip 8.6.0 via buzz-mesh-smoke → mesh-llm v0.76.2; deflate only, ZipArchive manual entry copy, never extracts; fixed in mesh-llm v0.79.0 (needs SDK migration)" },
# zbus 5 D-Bus crates (zvariant, zbus_names, zvariant_derive) — unmaintained,
# not vulnerable. Only path: buzz-mesh-smoke → mesh-llm → keyring 4 →
# zbus-secret-service-keyring-store / secret-service 5 → zbus 5.
# Remove when mesh-llm's keyring stack moves off zbus 5.
{ id = "RUSTSEC-2026-0370", reason = "zvariant via buzz-mesh-smoke → mesh-llm → keyring 4 → secret-service 5 → zbus 5; unmaintained, not vulnerable" },
{ id = "RUSTSEC-2026-0371", reason = "zbus_names via buzz-mesh-smoke → mesh-llm → keyring 4 → secret-service 5 → zbus 5; unmaintained, not vulnerable" },
{ id = "RUSTSEC-2026-0372", reason = "zvariant_derive via buzz-mesh-smoke → mesh-llm → keyring 4 → secret-service 5 → zbus 5; unmaintained, not vulnerable" },
# kube's `openssl-tls` connector trusts the default CA store on top of the
# configured cluster CA. kube is built with `rustls-tls` only (workspace
# Cargo.toml), so the affected connector isn't compiled in. Remove on the
# kube bump to >=4.2.1.
{ id = "RUSTSEC-2026-0600", reason = "kube-client 2.0.1 via buzz-backend-kubernetes; built with rustls-tls only, the affected openssl-tls connector is not compiled in" },
# webpki-roots 0.26.11 bundles no certificates: it re-exports webpki-roots 1,
# which the lockfile pins at the patched 1.0.10. tokio-tungstenite 0.28/0.29
# (via axum and nostr-sdk) still require ^0.26, and no patched 0.26 release
# exists. Remove when those consumers move to webpki-roots 1.
{ id = "RUSTSEC-2026-0381", reason = "only webpki-roots 0.26.11 remains: a shim re-exporting the patched 1.0.10; required by tokio-tungstenite 0.28/0.29" },
]
[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"OpenSSL",
"CC0-1.0",
"CDLA-Permissive-2.0",
"MITNFA",
"MPL-2.0",
"BSL-1.0",
"Unlicense",
# minicbor's permissive, OSI-approved license. Used for strict App Attest
# assertion CBOR parsing and also transitively by appattest.
"BlueOak-1.0.0",
# bzip2/libbzip2's permissive BSD-like license. New via desktop zip/bzip2
# transitive deps; compatible with Apache-2.0 distribution.
"bzip2-1.0.6",
]
confidence-threshold = 0.8
# mesh-llm workspace crates (pinned git dep) omit a per-crate `license` field in
# their manifests, so cargo-deny reports them as unlicensed. The mesh-llm repo is
# licensed "MIT OR Apache-2.0" (workspace Cargo.toml + top-level LICENSE = Apache-2.0);
# clarify each pulled-in member to that expression. Remove once mesh sets the field
# upstream (filed).
[[licenses.clarify]]
crate = "mesh-llm-config"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "mesh-llm-gpu-bench"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "mesh-llm-host-runtime"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "mesh-llm-plugin"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "mesh-llm-system"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "mesh-mixture-of-agents"
expression = "MIT OR Apache-2.0"
license-files = []
[[licenses.clarify]]
crate = "buzz-desktop"
expression = "Apache-2.0"
license-files = []
[licenses.private]
ignore = true
[bans]
multiple-versions = "warn"
wildcards = "allow"
deny = [
{ name = "rmcp", version = "<3.9.0", wrappers = ["buzz-agent"], reason = "only buzz-agent's subprocess-only rmcp 1 client may use an older version; HTTP consumers must use patched rmcp" },
{ name = "rusqlite", version = "<0.41", wrappers = ["mesh-llm-log-store"], reason = "older SQLite is limited to mesh smoke's private local log store" },
{ name = "libsqlite3-sys", version = "<0.39", wrappers = ["rusqlite"], reason = "older SQLite is limited to the guarded rusqlite dependency" },
{ name = "ringbuf", version = "<0.5.2", wrappers = ["neteq"], reason = "only audited NetEQ may declare this unused vulnerable dependency; all other consumers must use a patched release" },
]
# The rmcp 1 advisory exception is valid only without HTTP transports.
[[bans.features]]
name = "rmcp"
version = "<3.9.0"
allow = ["client", "transport-child-process", "transport-async-rw"]