Ruby/sqlite3/1.5.0


Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org). Precompiled binaries are available for common platforms for recent versions of Ruby.

https://rubygems.org/gems/sqlite3
BSD-3-Clause

1 Security Vulnerabilities

SQLite3 addresses vulnerability in packaged version of libsqlite

Published date: 2022-10-03T22:12:28Z
Links:

Summary

The rubygem sqlite3 v1.5.1 upgrades the packaged version of libsqlite from v3.39.3 to v3.39.4.

libsqlite v3.39.4 addresses a vulnerability described as follows in the release notification:

Version 3.39.4 is a minimal patch against the prior release that addresses issues found since the prior release. In particular, a potential vulnerability in the FTS3 extension has been fixed, so this should be considered a security update.

In order to exploit the vulnerability, an attacker must have full SQL access and must be able to construct a corrupt database with over 2GB of FTS3 content. The problem arises from a 32-bit signed integer overflow.

This vulnerability has not been assigned a CVE and does not have a severity declared.

Please note that this advisory only applies to the sqlite3 gem v1.5.0, and only if the packaged libsqlite is being used. If you've overridden defaults at installation time to use system libraries instead of packaged libraries, you should instead pay attention to your distro's libsqlite release announcements.

Mitigation

Upgrade to the rubygem sqlite3 v1.5.1 or later.

Users who are unable to upgrade the sqlite3 gem may also choose a more complicated mitigation: compile and link sqlite3 against external libsqlite >= 3.39.4 which will also address these same issues.

References

Affected versions: ["1.5.0"]
Secure versions: [1.4.2, 1.4.1, 1.4.0, 1.3.13, 1.3.12, 1.3.11, 1.3.10, 1.3.9, 1.3.8, 1.3.7, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.3.beta.1, 0.1.1, 0.1.0, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1, 0.0.0, 1.4.3, 1.4.4, 1.5.0.rc1, 1.5.0.rc2, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0.rc1, 1.6.0.rc2, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5.rc1, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 2.0.0, 2.0.1]
Recommendation: Update to version 2.0.1.

54 Other Versions

Version License Security Released
2.0.1 BSD-3-Clause 2024-04-20 - 15:20 15 days
2.0.0 BSD-3-Clause 2024-04-17 - 17:42 18 days
1.7.3 BSD-3-Clause 2024-03-15 - 21:56 about 2 months
1.7.2 BSD-3-Clause 2024-01-30 - 18:49 3 months
1.7.1 BSD-3-Clause 2024-01-24 - 22:10 3 months
1.7.0 BSD-3-Clause 2023-12-27 - 19:46 4 months
1.6.9 BSD-3-Clause 2023-11-26 - 19:02 5 months
1.6.8 BSD-3-Clause 2023-11-01 - 19:58 6 months
1.6.7 BSD-3-Clause 2023-10-10 - 20:46 7 months
1.6.6 BSD-3-Clause 2023-09-12 - 18:11 8 months
1.6.5 BSD-3-Clause 2023-09-09 - 14:15 8 months
1.6.5.rc1 BSD-3-Clause 2023-09-08 - 20:50 8 months
1.6.4 BSD-3-Clause 2023-08-26 - 20:12 8 months
1.6.3 BSD-3-Clause 2023-05-16 - 17:04 12 months
1.6.2 BSD-3-Clause 2023-03-27 - 14:23 about 1 year
1.6.1 BSD-3-Clause 2023-02-22 - 15:28 about 1 year
1.6.0 BSD-3-Clause 2023-01-13 - 14:48 over 1 year
1.6.0.rc2 BSD-3-Clause 2023-01-04 - 23:07 over 1 year
1.6.0.rc1 BSD-3-Clause 2023-01-02 - 20:40 over 1 year
1.5.4 BSD-3-Clause 2022-11-18 - 15:53 over 1 year
1.5.3 BSD-3-Clause 2022-10-11 - 13:04 over 1 year
1.5.2 BSD-3-Clause 2022-10-01 - 17:26 over 1 year
1.5.1 BSD-3-Clause 2022-09-30 - 01:44 over 1 year
1.5.0 BSD-3-Clause 1 2022-09-08 - 04:45 over 1 year
1.5.0.rc2 BSD-3-Clause 2022-08-30 - 19:36 over 1 year
1.5.0.rc1 BSD-3-Clause 2022-07-05 - 21:34 almost 2 years
1.4.4 BSD-3-Clause 2022-06-14 - 17:20 almost 2 years
1.4.3 BSD-3-Clause 2022-06-13 - 15:11 almost 2 years
1.4.2 BSD-3-Clause 2019-12-18 - 20:19 over 4 years
1.4.1 BSD-3-Clause 2019-04-29 - 23:13 about 5 years
1.4.0 BSD-3-Clause 2019-02-04 - 18:16 about 5 years
1.3.13 BSD-3-Clause 2017-01-04 - 18:40 over 7 years
1.3.12 BSD-3-Clause 2016-10-09 - 01:10 over 7 years
1.3.11 BSD-3-Clause 2015-10-10 - 21:29 over 8 years
1.3.10 BSD-3-Clause 2014-10-31 - 05:58 over 9 years
1.3.9 BSD-3-Clause 2014-02-25 - 18:50 about 10 years
1.3.8 MIT 2013-08-17 - 18:34 over 10 years
1.3.7 UNKNOWN 2013-01-12 - 00:57 over 11 years
1.3.6 UNKNOWN 2012-04-16 - 23:01 about 12 years
1.3.5 UNKNOWN 2011-12-03 - 21:46 over 12 years
1.3.4 UNKNOWN 2011-07-25 - 14:39 almost 13 years
1.3.3 UNKNOWN 2011-01-16 - 20:32 over 13 years
1.3.3.beta.1 UNKNOWN 2011-01-14 - 16:57 over 13 years
0.1.1 UNKNOWN 2010-05-08 - 21:17 almost 14 years
0.1.0 UNKNOWN 2010-05-02 - 11:31 about 14 years
0.0.8 UNKNOWN 2010-02-09 - 10:27 about 14 years
0.0.7 UNKNOWN 2010-02-04 - 10:14 about 14 years
0.0.6 UNKNOWN 2009-12-26 - 14:33 over 14 years
0.0.5 UNKNOWN 2009-12-20 - 10:31 over 14 years
0.0.4 UNKNOWN 2009-12-09 - 18:33 over 14 years
0.0.3 UNKNOWN 2009-11-19 - 23:44 over 14 years
0.0.2 UNKNOWN 2009-11-17 - 10:02 over 14 years
0.0.1 UNKNOWN 2009-11-17 - 09:51 over 14 years
0.0.0 UNKNOWN 2009-11-08 - 20:09 over 14 years