sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:sqlite3 | <= 2.10.1 | 2.10.2 |
sqlite3-ruby cast Ruby string lengths (long) to int before passing them to SQLite. On 64-bit platforms, a string of 4 GiB (2^32 bytes) or larger had its length wrap, so SQLite saw only the first length mod 2^32 bytes. An attacker who controls the length of a SQL string could truncate the query, for example dropping a trailing WHERE clause. The affected paths are: - the SQL passed to Database#prepare, #execute, and related methods - String and Blob values passed to Statement#bind_param and relat…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/14 03:57、GitHub Advisory Databaseが「sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby、SQLite。CVE: CVE-2026-128084。