From 8104c0b2abb51126116608a22a259c6773ab15b6 Mon Sep 17 00:00:00 2001 From: Mayur Kale Date: Mon, 9 Nov 2026 12:21:17 +0000 Subject: [PATCH] chore(deps): ignore RUSTSEC-2026-0459 for the bundled SQLite The advisory entered the RustSec database on 2026-11-09, so every `cargo deny check` now fails. SQLite before 3.54 can return uninitialised page-cache memory when a database is opened next to a crafted -wal file whose page size differs. The bundled copy (SQLite 3.46.0) comes from libsqlite3-sys 0.30.1, which sqlx-sqlite 0.8.6 pins, which iceberg-catalog-sql requires. The fix is libsqlite3-sys 0.39, and no sqlx release accepts it yet: sqlx-sqlite 0.9.0 caps it below 0.38. So no dependency update can clear the advisory today. Only catalog.db in the warehouse directory is opened through this SQLite, and Infostash is the only writer there. The ignore carries a reason and a comment saying when to remove it, like the zstd ones. Signed-off-by: Mayur Kale --- deny.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deny.toml b/deny.toml index db05e34..4bd8998 100644 --- a/deny.toml +++ b/deny.toml @@ -12,6 +12,13 @@ ignore = [ { id = "RUSTSEC-2026-0391", reason = "zstd 0.13 pinned by arrow and avro" }, { id = "RUSTSEC-2026-0398", reason = "zstd 0.13 pinned by arrow and avro" }, { id = "RUSTSEC-2026-0403", reason = "zstd 0.13 pinned by arrow and avro" }, + # SQLite before 3.54 (libsqlite3-sys 0.30, through sqlx 0.8 and + # iceberg-catalog-sql) can return uninitialised memory when a database is + # opened next to a crafted -wal file. Only catalog.db in the warehouse + # directory is opened through it, and Infostash is the only writer there. + # No sqlx release accepts the fixed libsqlite3-sys 0.39 yet; remove this + # once one does and iceberg-rust uses it. + { id = "RUSTSEC-2026-0459", reason = "SQLite 3.46 pinned by sqlx 0.8 through iceberg-catalog-sql" }, ] [licenses]