Summary
This update for sqlite3 fixes the following issues:
sqlite3 is sync version 3.36.0 from Factory (jsc#SLE-16032).
The following CVEs have been fixed in upstream releases up to
this point, but were not mentioned in the change log so far:
* bsc#1173641, CVE-2020-15358: heap-based buffer overflow in
multiSelectOrderBy due to mishandling of query-flattener
optimization
* bsc#1164719, CVE-2020-9327: NULL pointer dereference and
segmentation fault because of generated column optimizations in
isAuxiliaryVtabOperator
* bsc#1160439, CVE-2019-20218: selectExpander in select.c proceeds
with WITH stack unwinding even after a parsing error
* bsc#1160438, CVE-2019-19959: memory-management error via
ext/misc/zipfile.c involving embedded '\0' input
* bsc#1160309, CVE-2019-19923: improper handling of certain uses
of SELECT DISTINCT in flattenSubquery may lead to null pointer
dereference
* bsc#1159850, CVE-2019-19924: improper error handling in
sqlite3WindowRewrite()
* bsc#1159847, CVE-2019-19925: improper handling of NULL pathname
during an update of a ZIP archive
* bsc#1159715, CVE-2019-19926: improper handling of certain
errors during parsing multiSelect in select.c
* bsc#1159491, CVE-2019-19880: exprListAppendList in window.c
allows attackers to trigger an invalid pointer dereference
* bsc#1158960, CVE-2019-19603: during handling of CREATE TABLE
and CREATE VIEW statements, does not consider confusion with
a shadow table name
* bsc#1158959, CVE-2019-19646: pragma.c mishandles NOT NULL in an
integrity_check PRAGMA command in certain cases of generated
columns
* bsc#1158958, CVE-2019-19645: alter.c allows attackers to trigger
infinite recursion via certain types of self-referential views
in conjunction with ALTER TABLE statements
* bsc#1158812, CVE-2019-19317: lookupName in resolve.c omits bits
from the colUsed bitmask in the case of a generated column,
which allows attackers to cause a denial of service
* bsc#1157818, CVE-2019-19244: sqlite3,sqlite2,sqlite: The
function sqlite3Select in select.c allows a crash if a
sub-select uses both DISTINCT and window functions, and also
has certain ORDER BY usage
* bsc#928701, CVE-2015-3415: sqlite3VdbeExec comparison operator
vulnerability
* bsc#928700, CVE-2015-3414: sqlite3,sqlite2: dequoting of
collation-sequence names
* CVE-2020-13434 bsc#1172115: integer overflow in
sqlite3_str_vappendf
* CVE-2020-13630 bsc#1172234: use-after-free in fts3EvalNextRow
* CVE-2020-13631 bsc#1172236: virtual table allowed to be renamed
to one of its shadow tables
* CVE-2020-13632 bsc#1172240: NULL pointer dereference via
crafted matchinfo() query
* CVE-2020-13435: Malicious SQL statements could have crashed the
process that is running SQLite (bsc#1172091)
Fixed packages 14
| Release | Package | Fixed in |
|---|---|---|
| SUSE · HPE Helion OpenStack 8 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-LTSS | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · OpenStack Cloud 8 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · OpenStack Cloud 9 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · OpenStack Cloud Crowbar 8 | sqlite3 | 3.36.0-9.18.1 |
| SUSE · OpenStack Cloud Crowbar 9 | sqlite3 | 3.36.0-9.18.1 |
Vulnerabilities 28
-
Medium 6.5
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missi…
-
Unscored —
SQLite before 3.8.9 does not properly implement the dequoting of collation-sequence names, which allows context-depende…
-
Unscored —
The sqlite3VdbeExec function in vdbe.c in SQLite before 3.8.9 does not properly implement comparison operators, which a…
-
Unscored —
os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm, which might allow loc…
-
Unscored —
The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles …
-
Unscored —
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvO…
-
Unscored —CVE-2018-20346 EPSS 10%
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow…
-
Unscored —
In SQLite through 3.22.0, databases whose schema is corrupted using a CREATE TABLE AS statement could cause a NULL poin…
-
Unscored —
sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and …
-
Unscored —
lookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which a…
-
Unscored —CVE-2019-19603 EPSS 11%
SQLite 3.30.1 mishandles certain SELECT statements with a nonexistent VIEW, leading to an application crash.
-
Unscored —
alter.c in SQLite through 3.30.1 allows attackers to trigger infinite recursion via certain types of self-referential v…
-
Unscored —
pragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generate…
-
Unscored —
exprListAppendList in window.c in SQLite 3.30.1 allows attackers to trigger an invalid pointer dereference because cons…
-
Unscored —
flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which …
-
Unscored —CVE-2019-19924 EPSS 11%
SQLite 3.30.1 mishandles certain parser-tree rewriting, related to expr.c, vdbeaux.c, and window.c. This is caused by i…
-
Unscored —
zipfileUpdate in ext/misc/zipfile.c in SQLite 3.30.1 mishandles a NULL pathname during an update of a ZIP archive.
-
Unscored —
multiSelect in select.c in SQLite 3.30.1 mishandles certain errors during parsing, as demonstrated by errors from sqlit…
-
Unscored —
ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situations involving embedded '\0' charac…
-
Unscored —
selectExpander in select.c in SQLite 3.30.1 proceeds with WITH stack unwinding even after a parsing error.
-
Unscored —CVE-2019-8457 EPSS 45%
SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when han…
-
Unscored —
SQLite through 3.32.0 has an integer overflow in sqlite3_str_vappendf in printf.c.
-
Unscored —
SQLite through 3.32.0 has a segmentation fault in sqlite3ExprCodeTarget in expr.c.
-
Unscored —
ext/fts3/fts3.c in SQLite before 3.32.0 has a use-after-free in fts3EvalNextRow, related to the snippet feature.
-
Unscored —
SQLite before 3.32.0 allows a virtual table to be renamed to the name of one of its shadow tables, related to alter.c a…
-
Unscored —
ext/fts3/fts3_snippet.c in SQLite before 3.32.0 has a NULL pointer dereference via a crafted matchinfo() query.
-
Unscored —
In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflo…
-
Unscored —
In SQLite 3.31.1, isAuxiliaryVtabOperator allows attackers to trigger a NULL pointer dereference and segmentation fault…
References
-
report
https://bugzilla.suse.com/1157818
-
report
https://bugzilla.suse.com/1158812
-
report
https://bugzilla.suse.com/1158958
-
report
https://bugzilla.suse.com/1158959
-
report
https://bugzilla.suse.com/1158960
-
report
https://bugzilla.suse.com/1159491
-
report
https://bugzilla.suse.com/1159715
-
report
https://bugzilla.suse.com/1159847
-
report
https://bugzilla.suse.com/1159850
-
report
https://bugzilla.suse.com/1160309
-
report
https://bugzilla.suse.com/1160438
-
report
https://bugzilla.suse.com/1160439
-
report
https://bugzilla.suse.com/1164719
-
report
https://bugzilla.suse.com/1172091
-
report
https://bugzilla.suse.com/1172115
-
report
https://bugzilla.suse.com/1172234
-
report
https://bugzilla.suse.com/1172236
-
report
https://bugzilla.suse.com/1172240
-
report
https://bugzilla.suse.com/1173641
-
report
https://bugzilla.suse.com/928700
-
report
https://bugzilla.suse.com/928701
-
web
https://www.suse.com/security/cve/CVE-2015-3414
-
web
https://www.suse.com/security/cve/CVE-2015-3415
-
web
https://www.suse.com/security/cve/CVE-2016-6153
-
web
https://www.suse.com/security/cve/CVE-2017-10989
-
web
https://www.suse.com/security/cve/CVE-2017-2518
-
web
https://www.suse.com/security/cve/CVE-2018-20346
-
web
https://www.suse.com/security/cve/CVE-2018-8740
-
web
https://www.suse.com/security/cve/CVE-2019-16168
-
web
https://www.suse.com/security/cve/CVE-2019-19244
-
web
https://www.suse.com/security/cve/CVE-2019-19317
-
web
https://www.suse.com/security/cve/CVE-2019-19603
-
web
https://www.suse.com/security/cve/CVE-2019-19645
-
web
https://www.suse.com/security/cve/CVE-2019-19646
-
web
https://www.suse.com/security/cve/CVE-2019-19880
-
web
https://www.suse.com/security/cve/CVE-2019-19923
-
web
https://www.suse.com/security/cve/CVE-2019-19924
-
web
https://www.suse.com/security/cve/CVE-2019-19925
-
web
https://www.suse.com/security/cve/CVE-2019-19926