RUSTSEC-2026-0459: `libsqlite3-sys` via C SQLite CVE-2026-119375

オープン 初心者向け
#3,661 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, sqlite

調査の方向性

まずリポジトリの依存関係宣言とロックファイルを確認して libsqlite3-sys と rusqlite を探し、次にビルドでバンドル版 SQLite またはバンドル版 SQLCipher が有効になっているかを特定します。アドバイザリによると、影響を受けるバンドル版は libsqlite3-sys 0.39.0 以降で修正されていますが、バンドル版 SQLCipher には影響を受ける SQLite のバージョンが引き続き含まれている可能性があります。リポジトリの依存関係設定とロックファイルが安全なバージョンを使用しているか、残る影響を明確に記録していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

libsqlite3-sys via C SQLite CVE-2026-119375

Details
Package libsqlite3-sys
Version 0.30.1
URL https://nvd.nist.gov/vuln/detail/CVE-2026-119375
Date 2026-10-30
Patched versions >=0.39.0
Unaffected versions <0.6.0

SQLite versions before 3.54.0 can return uninitialized page-cache memory when a process opens a database file together with a sibling write-ahead-log (-wal) file whose page size differs from the database's. A crafted pair of files can make ordinary queries return stale bytes from the process's memory. The attack vector is local and needs the victim to open the files.

As libsqlite3-sys bundles SQLite when it is built from its bundled source (the bundled feature, which rusqlite's bundled feature enables), it is susceptible to the vulnerability. The releases 0.6.0 to 0.38.2 bundle SQLite 3.13.0 to 3.53.2 and are affected; the earlier releases contain no SQLite source. libsqlite3-sys was updated to bundle the patched version of SQLite in 0.39.0 (SQLite 3.54.0) and 0.39.1 (SQLite 3.54.1), released with rusqlite 0.41. libsqlite3-sys 0.39 declares Rust 1.88 and rusqlite 0.41 declares Rust 1.89.

Only a process that opens a database file, with its -wal, that a less trusted party could have written is exposed. A build that links a system SQLite instead of the bundled source is not affected by the copy in this crate; its exposure is that of the system library's version. The bundled-sqlcipher feature builds SQLCipher instead of SQLite; in 0.39.0 and 0.39.1 it depends on sqlcipher-src =419.0.6, which bundles SQLite 3.53.4 and is affected.

See advisory page for additional details.

主要言語
Rust
スター
1.4k
フォーク
628
平均マージ
3日 3時間
マージ済み PR(30日)
79

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/iceberg-rust のほかの issue

apache/iceberg-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。