libsqlite3-sys 0.39 (RUSTSEC-2026-0459) waits on a sqlx release #467

Closed
opened 2026-11-16 14:22:25 -08:00 by rays · 3 comments
Owner

cargo deny check advisories fails on nine advisories in dependencies already in Cargo.lock (found while adding crates/wire for #465, which adds none of them):

  • Incorrect handling of embedded SVG and MathML leads to mutation XSS (RUSTSEC-2026-0533)
  • libsqlite3-sys via C SQLite CVE-2026-119375 (RUSTSEC-2026-0459)
  • Exponential event growth with ENABLE_WIKILINKS (RUSTSEC-2026-0414)
  • Quadratic parsing of nested image wikilinks with ENABLE_WIKILINKS (RUSTSEC-2026-0433)
  • AsyncFd::new and related constructors violate I/O safety (RUSTSEC-2026-0386)
  • Data from an abandoned stream leaks into the next stream on a reused context (RUSTSEC-2026-0391)
  • Seekable::decompress sets a Vec length beyond its capacity for offsets past the end (RUSTSEC-2026-0398)
  • Uninitialized memory exposed when streaming decompression of a legacy frame fails (RUSTSEC-2026-0403)
  • WebAssembly allocator shim corrupts memory on allocation failure (RUSTSEC-2026-0410)
    Each wants its crate updated where a fixed release exists, or an ignore in deny.toml saying why it does not reach ipx (the wikilinks ones need ENABLE_WIKILINKS, which ipx-feed may not turn on).
cargo deny check advisories fails on nine advisories in dependencies already in Cargo.lock (found while adding crates/wire for #465, which adds none of them): - Incorrect handling of embedded SVG and MathML leads to mutation XSS (RUSTSEC-2026-0533) - `libsqlite3-sys` via C SQLite CVE-2026-119375 (RUSTSEC-2026-0459) - Exponential event growth with `ENABLE_WIKILINKS` (RUSTSEC-2026-0414) - Quadratic parsing of nested image wikilinks with `ENABLE_WIKILINKS` (RUSTSEC-2026-0433) - `AsyncFd::new` and related constructors violate I/O safety (RUSTSEC-2026-0386) - Data from an abandoned stream leaks into the next stream on a reused context (RUSTSEC-2026-0391) - `Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end (RUSTSEC-2026-0398) - Uninitialized memory exposed when streaming decompression of a legacy frame fails (RUSTSEC-2026-0403) - WebAssembly allocator shim corrupts memory on allocation failure (RUSTSEC-2026-0410) Each wants its crate updated where a fixed release exists, or an ignore in deny.toml saying why it does not reach ipx (the wikilinks ones need ENABLE_WIKILINKS, which ipx-feed may not turn on).
rays added the bug label 2026-11-16 14:22:25 -08:00
Author
Owner

0cafe02, deployed to ipx, ipx-directory and ipx-play: eight of nine fixed (ammonia 4.2.5, pulldown-cmark 0.13.6, tokio 1.54.1, async-compression 0.4.52 with zstd 0.14.4, zstd-safe 8.3.0, zstd-sys). Left open for libsqlite3-sys (RUSTSEC-2026-0459): sqlx-sqlite 0.9.0, the latest, pins it below 0.38, so it waits on a sqlx release. Production is on Postgres; SQLite is the sample compose file's and the tests'.

0cafe02, deployed to ipx, ipx-directory and ipx-play: eight of nine fixed (ammonia 4.2.5, pulldown-cmark 0.13.6, tokio 1.54.1, async-compression 0.4.52 with zstd 0.14.4, zstd-safe 8.3.0, zstd-sys). Left open for libsqlite3-sys (RUSTSEC-2026-0459): sqlx-sqlite 0.9.0, the latest, pins it below 0.38, so it waits on a sqlx release. Production is on Postgres; SQLite is the sample compose file's and the tests'.
rays changed title from cargo deny: nine advisories in current dependencies (ammonia, libsqlite3-sys, pulldown-cmark, tokio, zstd and others) to libsqlite3-sys 0.39 (RUSTSEC-2026-0459) waits on a sqlx release 2026-11-16 18:08:39 -08:00
Author
Owner

54bfa5f: the other eight were fixed in 0cafe02. This one is recorded in deny.toml as assessed: the CVE needs SQLite to open a database and -wal file someone else crafted, and ipx opens only its own state.db (production is on Postgres). sqlx-sqlite 0.9.0, the latest, pins libsqlite3-sys below 0.38; sea-orm 2.0.4 uses the same sqlx. Left open: when sqlx allows 0.39, update it and take the ignore out of deny.toml.

54bfa5f: the other eight were fixed in 0cafe02. This one is recorded in deny.toml as assessed: the CVE needs SQLite to open a database and -wal file someone else crafted, and ipx opens only its own state.db (production is on Postgres). sqlx-sqlite 0.9.0, the latest, pins libsqlite3-sys below 0.38; sea-orm 2.0.4 uses the same sqlx. Left open: when sqlx allows 0.39, update it and take the ignore out of deny.toml.
rays closed this issue 2026-11-22 09:36:58 -08:00
Author
Owner

Fixed in 2c8b4d9, deployed to ipx, ipx-directory and ipx-play: sqlx 0.9.1 (2026-11-18) lets sqlx-sqlite take libsqlite3-sys up to 0.40, so it is 0.37.0 -> 0.40.0 (SQLite of 2026-10-16 in the running ipxd), and the RUSTSEC-2026-0459 ignore is gone from deny.toml. All six crates' tests pass, ipx's on Postgres and SQLite, and the browser suite.

Fixed in 2c8b4d9, deployed to ipx, ipx-directory and ipx-play: sqlx 0.9.1 (2026-11-18) lets sqlx-sqlite take libsqlite3-sys up to 0.40, so it is 0.37.0 -> 0.40.0 (SQLite of 2026-10-16 in the running ipxd), and the RUSTSEC-2026-0459 ignore is gone from deny.toml. All six crates' tests pass, ipx's on Postgres and SQLite, and the browser suite.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#467