← 漏洞与更新

中危漏洞公告RubySQLite

sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger

受影响

软件包受影响版本修复版本
rubygems:sqlite3<= 2.10.12.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…

在 GitHub Advisory Database 阅读

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。