NVD - CVE-2018-20346 (original) (raw)

CVE-2018-20346 Detail

Description

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.

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.

CVSS 4.0 Severity and Vector Strings:

NIST CVSS score

NIST: NVD

N/A

NVD assessment not yet provided.

CVSS 3.x Severity and Vector Strings:

NIST CVSS score

NIST: NVD

Base Score: 8.1 HIGH

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology

NIST: NVD

Base Score: 6.8 MEDIUM

Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:P)

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html CVE, MITRE Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html CVE, MITRE Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106323 CVE, MITRE Third Party Advisory VDB Entry
https://access.redhat.com/articles/3758321 CVE, MITRE Third Party Advisory
https://blade.tencent.com/magellan/index_en.html CVE, MITRE Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659379 CVE, MITRE Issue Tracking Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659677 CVE, MITRE Issue Tracking Third Party Advisory
https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html CVE, MITRE Third Party Advisory
https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e CVE, MITRE Third Party Advisory
https://crbug.com/900910 CVE, MITRE Permissions Required Third Party Advisory
https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html CVE, MITRE Exploit Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10365 CVE, MITRE
https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html CVE, MITRE Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/ CVE, MITRE
https://news.ycombinator.com/item?id=18685296 CVE, MITRE Third Party Advisory
https://security.gentoo.org/glsa/201904-21 CVE, MITRE Third Party Advisory
https://sqlite.org/src/info/940f2adc8541a838 CVE, MITRE Patch Third Party Advisory
https://sqlite.org/src/info/d44318f59044162e CVE, MITRE Patch Third Party Advisory
https://support.apple.com/HT209443 CVE, MITRE
https://support.apple.com/HT209446 CVE, MITRE
https://support.apple.com/HT209447 CVE, MITRE
https://support.apple.com/HT209448 CVE, MITRE
https://support.apple.com/HT209450 CVE, MITRE
https://support.apple.com/HT209451 CVE, MITRE
https://usn.ubuntu.com/4019-1/ CVE, MITRE
https://usn.ubuntu.com/4019-2/ CVE, MITRE
https://worthdoingbadly.com/sqlitebug/ CVE, MITRE Exploit Third Party Advisory
https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc CVE, MITRE Third Party Advisory
https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html CVE, MITRE
https://www.oracle.com/security-alerts/cpuapr2020.html CVE, MITRE
https://www.sqlite.org/releaselog/3_25_3.html CVE, MITRE Release Notes Vendor Advisory
https://www.synology.com/security/advisory/Synology_SA_18_61 CVE, MITRE Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-190 Integer Overflow or Wraparound cwe source acceptance level NIST

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

22 change records found show changes

CVE Modified by CVE 11/20/2024 11:01:17 PM

Action Type Old Value New Value
Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html
Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html
Added Reference http://www.securityfocus.com/bid/106323
Added Reference https://access.redhat.com/articles/3758321
Added Reference https://blade.tencent.com/magellan/index\_en.html
Added Reference https://bugzilla.redhat.com/show\_bug.cgi?id=1659379
Added Reference https://bugzilla.redhat.com/show\_bug.cgi?id=1659677
Added Reference https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html
Added Reference https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e
Added Reference https://crbug.com/900910
Added Reference https://github.com/zhuowei/worthdoingbadly.com/blob/master/\_posts/2018-12-14-sqlitebug.html
Added Reference https://kc.mcafee.com/corporate/index?page=content&id=SB10365
Added Reference https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html
Added Reference https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/
Added Reference https://news.ycombinator.com/item?id=18685296
Added Reference https://security.gentoo.org/glsa/201904-21
Added Reference https://sqlite.org/src/info/940f2adc8541a838
Added Reference https://sqlite.org/src/info/d44318f59044162e
Added Reference https://support.apple.com/HT209443
Added Reference https://support.apple.com/HT209446
Added Reference https://support.apple.com/HT209447
Added Reference https://support.apple.com/HT209448
Added Reference https://support.apple.com/HT209450
Added Reference https://support.apple.com/HT209451
Added Reference https://usn.ubuntu.com/4019-1/
Added Reference https://usn.ubuntu.com/4019-2/
Added Reference https://worthdoingbadly.com/sqlitebug/
Added Reference https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc
Added Reference https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html
Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html
Added Reference https://www.sqlite.org/releaselog/3\_25\_3.html
Added Reference https://www.synology.com/security/advisory/Synology\_SA\_18\_61

CVE Modified by MITRE 5/14/2024 1:14:14 AM

Action Type Old Value New Value

CVE Modified by MITRE 11/06/2023 9:56:16 PM

Action Type Old Value New Value
Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/ [No types assigned]
Added Reference MITRE https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html [No types assigned]
Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[\[email protected]](/cdn-cgi/l/email-protection)/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/
Removed Reference MITRE https://www.mail-archive.com/[\[email protected]](/cdn-cgi/l/email-protection)/msg113218.html

CVE Modified by MITRE 7/31/2021 4:15:08 AM

Action Type Old Value New Value
Added Reference https://kc.mcafee.com/corporate/index?page=content&id=SB10365 [No Types Assigned]

CVE Modified by MITRE 8/22/2020 9:15:10 PM

Action Type Old Value New Value
Added Reference https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html [No Types Assigned]

CVE Modified by MITRE 4/15/2020 5:15:25 PM

Action Type Old Value New Value
Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html [No Types Assigned]

CVE Modified by MITRE 12/19/2019 3:15:12 PM

Action Type Old Value New Value
Changed Description Multiple issues in SQLite via WebSQL in Google Chrome prior to 71.0.3578.80 allowed a remote attacker to potentially perform out of bounds memory access via a crafted HTML page. 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.
Added Reference https://support.apple.com/HT209443 [No Types Assigned]
Added Reference https://support.apple.com/HT209446 [No Types Assigned]
Added Reference https://support.apple.com/HT209447 [No Types Assigned]
Added Reference https://support.apple.com/HT209448 [No Types Assigned]
Added Reference https://support.apple.com/HT209450 [No Types Assigned]
Added Reference https://support.apple.com/HT209451 [No Types Assigned]

CVE Modified by MITRE 11/25/2019 10:15:21 AM

Action Type Old Value New Value
Changed Description 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. Multiple issues in SQLite via WebSQL in Google Chrome prior to 71.0.3578.80 allowed a remote attacker to potentially perform out of bounds memory access via a crafted HTML page.

CVE Modified by MITRE 8/13/2019 12:15:10 AM

Action Type Old Value New Value
Added Reference https://lists.fedoraproject.org/archives/list/[\[email protected]](/cdn-cgi/l/email-protection)/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/ [No Types Assigned]

CVE Modified by MITRE 6/19/2019 4:15:10 PM

Action Type Old Value New Value
Added Reference https://usn.ubuntu.com/4019-2/ [No Types Assigned]

CVE Modified by MITRE 6/19/2019 3:15:10 PM

Action Type Old Value New Value
Added Reference https://usn.ubuntu.com/4019-1/ [No Types Assigned]

Modified Analysis by NIST 4/26/2019 12:28:12 PM

Action Type Old Value New Value
Changed CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing List, Third Party Advisory
Changed Reference Type https://security.gentoo.org/glsa/201904-21 No Types Assigned https://security.gentoo.org/glsa/201904-21 Third Party Advisory

CVE Modified by MITRE 4/22/2019 10:29:00 PM

Action Type Old Value New Value
Added Reference https://security.gentoo.org/glsa/201904-21 [No Types Assigned]

CVE Modified by MITRE 4/17/2019 5:29:01 PM

Action Type Old Value New Value
Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html [No Types Assigned]

Modified Analysis by NIST 4/12/2019 2:40:45 PM

Action Type Old Value New Value
Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html Third Party Advisory
Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html Mailing List, Third Party Advisory

CVE Modified by MITRE 4/05/2019 5:29:03 PM

Action Type Old Value New Value
Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html [No Types Assigned]

Initial Analysis by NIST 2/14/2019 1:17:46 PM

Action Type Old Value New Value
Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Added CWE CWE-190
Added CPE Configuration OR *cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* versions up to (excluding) 71.0.3578.80
Added CPE Configuration OR *cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* versions up to (excluding) 3.25.3
Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Added CPE Configuration OR *cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*
Changed Reference Type http://www.securityfocus.com/bid/106323 No Types Assigned http://www.securityfocus.com/bid/106323 Third Party Advisory, VDB Entry
Changed Reference Type https://access.redhat.com/articles/3758321 No Types Assigned https://access.redhat.com/articles/3758321 Third Party Advisory
Changed Reference Type https://blade.tencent.com/magellan/index\_en.html No Types Assigned https://blade.tencent.com/magellan/index\_en.html Third Party Advisory
Changed Reference Type https://bugzilla.redhat.com/show\_bug.cgi?id=1659379 No Types Assigned https://bugzilla.redhat.com/show\_bug.cgi?id=1659379 Issue Tracking, Third Party Advisory
Changed Reference Type https://bugzilla.redhat.com/show\_bug.cgi?id=1659677 No Types Assigned https://bugzilla.redhat.com/show\_bug.cgi?id=1659677 Issue Tracking, Third Party Advisory
Changed Reference Type https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html No Types Assigned https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html Third Party Advisory
Changed Reference Type https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e No Types Assigned https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e Third Party Advisory
Changed Reference Type https://crbug.com/900910 No Types Assigned https://crbug.com/900910 Permissions Required, Third Party Advisory
Changed Reference Type https://github.com/zhuowei/worthdoingbadly.com/blob/master/\_posts/2018-12-14-sqlitebug.html No Types Assigned https://github.com/zhuowei/worthdoingbadly.com/blob/master/\_posts/2018-12-14-sqlitebug.html Exploit, Third Party Advisory
Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html Third Party Advisory
Changed Reference Type https://news.ycombinator.com/item?id=18685296 No Types Assigned https://news.ycombinator.com/item?id=18685296 Third Party Advisory
Changed Reference Type https://sqlite.org/src/info/940f2adc8541a838 No Types Assigned https://sqlite.org/src/info/940f2adc8541a838 Patch, Third Party Advisory
Changed Reference Type https://sqlite.org/src/info/d44318f59044162e No Types Assigned https://sqlite.org/src/info/d44318f59044162e Patch, Third Party Advisory
Changed Reference Type https://worthdoingbadly.com/sqlitebug/ No Types Assigned https://worthdoingbadly.com/sqlitebug/ Exploit, Third Party Advisory
Changed Reference Type https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc No Types Assigned https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc Third Party Advisory
Changed Reference Type https://www.mail-archive.com/[\[email protected]](/cdn-cgi/l/email-protection)/msg113218.html No Types Assigned https://www.mail-archive.com/[\[email protected]](/cdn-cgi/l/email-protection)/msg113218.html Mailing List, Third Party Advisory
Changed Reference Type https://www.sqlite.org/releaselog/3\_25\_3.html No Types Assigned https://www.sqlite.org/releaselog/3\_25\_3.html Release Notes, Vendor Advisory
Changed Reference Type https://www.synology.com/security/advisory/Synology\_SA\_18\_61 No Types Assigned https://www.synology.com/security/advisory/Synology\_SA\_18\_61 Third Party Advisory

CVE Modified by MITRE 1/31/2019 2:29:00 PM

Action Type Old Value New Value
Added Reference https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc [No Types Assigned]

CVE Modified by MITRE 12/27/2018 6:29:00 AM

Action Type Old Value New Value
Added Reference http://www.securityfocus.com/bid/106323 [No Types Assigned]

CVE Modified by MITRE 12/25/2018 6:29:03 AM

Action Type Old Value New Value
Added Reference https://www.synology.com/security/advisory/Synology\_SA\_18\_61 [No Types Assigned]

CVE Modified by MITRE 12/22/2018 6:29:02 AM

Action Type Old Value New Value
Added Reference https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html [No Types Assigned]

CVE Modified by MITRE 12/21/2018 6:29:01 PM

Action Type Old Value New Value
Added Reference https://github.com/zhuowei/worthdoingbadly.com/blob/master/\_posts/2018-12-14-sqlitebug.html [No Types Assigned]
Added Reference https://news.ycombinator.com/item?id=18685296 [No Types Assigned]
Added Reference https://sqlite.org/src/info/940f2adc8541a838 [No Types Assigned]
Added Reference https://sqlite.org/src/info/d44318f59044162e [No Types Assigned]
Added Reference https://worthdoingbadly.com/sqlitebug/ [No Types Assigned]

Quick Info

CVE Dictionary Entry:
CVE-2018-20346
NVD Published Date:
12/21/2018
NVD Last Modified:
11/20/2024
Source:
MITRE