Skip to content

chore(audit): ignore RUSTSEC-2026-0459 until sqlx allows libsqlite3-sys 0.39 - #74

Merged
timrabl merged 1 commit into
mainfrom
audit/ignore-sqlite-wal
Nov 10, 2026
Merged

timrabl merged 1 commit into
mainfrom
audit/ignore-sqlite-wal

Conversation

@timrabl

@timrabl timrabl commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

Refs #72. cargo audit fails on RUSTSEC-2026-0459 (CVE-2026-119375): bundled SQLite before 3.54.0 can leak uninitialized page-cache memory when it opens a database with a crafted -wal file.

Why no upgrade: the fix is libsqlite3-sys >= 0.39. The chain is sea-orm 2.0 -> sqlx 0.9.0 -> sqlx-sqlite 0.9.0, which requires libsqlite3-sys >=0.30.1, <0.38.0. 0.9.0 is the latest sqlx release. sqlx main already widens this to <0.40.0, so the next release unblocks it.

Why the ignore is acceptable for now: the code is compiled in (bundled), but exploiting it needs an attacker who can already write both ~/.bbmctl/measurements.db (or the user-supplied path) and its -wal file. Local only, user interaction required, read-only impact.

The full rationale and the removal trigger are documented in .cargo/audit.toml, matching the two existing entries. #72 stays open until the ignore is removed.

…ys 0.39

The fix needs libsqlite3-sys >= 0.39, but sqlx-sqlite 0.9.0 caps it below
0.38 and no newer sqlx is released. Exposure is limited to a crafted
database plus -wal pair in a path the user controls. Rationale and the
removal trigger are in .cargo/audit.toml.

Refs #72
@timrabl
timrabl merged commit fe45889 into main Nov 10, 2026
5 checks passed
@timrabl
timrabl deleted the audit/ignore-sqlite-wal branch November 10, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant