Integer Overflow or Wraparound Affecting sqlite3 package, versions <3.16.2-5+deb9u2
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-SQLITE3-307593
- published 21 Dec 2018
- disclosed 21 Dec 2018
Introduced: 21 Dec 2018
CVE-2018-20346 Open this link in a new tabHow to fix?
Upgrade Debian:9
sqlite3
to version 3.16.2-5+deb9u2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream sqlite3
package and not the sqlite3
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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://security-tracker.debian.org/tracker/CVE-2018-20346
- https://support.apple.com/HT209443
- https://support.apple.com/HT209446
- https://support.apple.com/HT209447
- https://support.apple.com/HT209448
- https://support.apple.com/HT209450
- https://support.apple.com/HT209451
- https://crbug.com/900910
- https://www.synology.com/security/advisory/Synology_SA_18_61
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20346
- https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/
- https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc
- https://security.gentoo.org/glsa/201904-21
- https://access.redhat.com/articles/3758321
- https://blade.tencent.com/magellan/index_en.html
- https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html
- https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e
- https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html
- https://news.ycombinator.com/item?id=18685296
- https://sqlite.org/src/info/940f2adc8541a838
- https://sqlite.org/src/info/d44318f59044162e
- https://worthdoingbadly.com/sqlitebug/
- https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg113218.html
- https://www.sqlite.org/releaselog/3_25_3.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1659379
- https://bugzilla.redhat.com/show_bug.cgi?id=1659677
- http://www.securityfocus.com/bid/106323
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-20346
- https://usn.ubuntu.com/4019-1/
- https://usn.ubuntu.com/4019-2/
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365