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_app2026/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。