Repository navigation
chore(audit): RUSTSEC-2026-0459(libsqlite3-sys)を理由つきで一時的に除外する - #562
Merged
Merged
Conversation
sqlx 0.9.0 の sqlx-sqlite が libsqlite3-sys を <0.38 に固定しており、修正版の 0.39 に上げられないため。sqlx の main は対応済み(transact-rs/sqlx#4502)だが 未リリース。git の [patch] は派生アプリに届かず、未リリースの DB 層を取り込む ため採らない。影響はリストア(管理者限定)だけで、アップロードは本体ファイル しか渡せず、適用時に古い -wal/-shm を消すので小さい。次の sqlx のリリースで cargo update して除外を外す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
2026-10-30 に出た RUSTSEC-2026-0459(libsqlite3-sys 0.30.1 が同梱する SQLite <3.54.0 の CVE-2026-119375、Medium 6.8)で、全 PR の Dependency audit が落ちています(#560・#561 で確認)。
.cargo/audit.tomlに理由と見直しの条件をつけて一時的に除外します。直せない理由
>=0.30.1, <0.38.0を要求し、cargo updateでは 0.37.0 までしか上がらない(--precise 0.39.1は解決に失敗)[patch]で main を使う案は採らない。派生アプリ(git タグで banto-* を使う側)の lockfile には届かず、未リリースの DB 層(56 コミット分)を取り込むため影響が小さい理由
-walの組を開かせる必要がある(ローカル、利用者の操作が要る)-wal/-shmを消してから入れ替える(crates/banto-admin-services/src/backup.rs)見直しの条件
libsqlite3-sys >=0.39 を受け付ける sqlx がリリースされたら、
cargo update -p libsqlite3-sysで上げてこの除外を外す。検証
cargo audit(0.22.2)で脆弱性 0、既存の警告 3 件のみ🤖 Generated with Claude Code