[3.6] sqlite: integer overflow (resulting in buffer overflow) for FTS3 queries (CVE-2018-20346)
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an
integer overflow (and resultant buffer overflow)
for FTS3 queries that occur after crafted changes to FTS3 shadow tables,
allowing remote attackers to execute arbitrary
code by leveraging the ability to run arbitrary SQL statements (such as
in certain WebSQL use cases), aka Magellan.
References:
https://www.openwall.com/lists/oss-security/2018/12/21/1
https://nvd.nist.gov/vuln/detail/CVE-2018-20346
Patch:
https://www.sqlite.org/src/info/940f2adc8541a838
(from redmine: issue id 9794, created on 2018-12-26, closed on 2019-01-02)
- Relations:
- parent #9791 (closed)
- Changesets:
- Revision 91728ec7 by Natanael Copa on 2019-01-01T12:12:16Z:
main/sqlite: security upgrade to 3.25.3 (CVE-2018-20346)
fixes #9794