sqlite3 provides Ruby bindings for the SQLite3 embedded database. From 2.1.0 to 2.9.4, the callbacks used for SQLite aggregate functions can be freed while still referenced during aggregation, resulting in a use-after-free. This issue is fixed in version 2.9.5.
Summary
AIIn affected Ruby bindings, SQLite aggregate-function callbacks can be freed while aggregation still references them, causing a use-after-free. The input does not specify what an attacker can accomplish or whether exploitation requires network access, authentication, local access, or user interaction.
Who should check
Check applications using the RubyGems sqlite3-ruby or sqlite3 packages at versions 2.1.0 through 2.9.4.
What to do
- 1Upgrade sqlite3-ruby or sqlite3 to version 2.9.5.