CVE-2020-15358

In SQLite before 3.32.3 select.c mishandles query-flattener optimization leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.

CVE-2020-15358 is fixed in 8 products on 1 platform, first by lemon 3.31.1-4ubuntu0.2, released June 27, 2020. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0102
63rd percentile

SQLite is a C library that implements an SQL database engine. A large subset of SQL92 is supported. A complete database is stored in a single disk file. The API is designed for convenience and ease of use. Applications that link against SQLite can enjoy the power and flexibility of an SQL database without the administrative hassles of supporting a separate database server. Security Fix(es): * sqlite: integer overflow in sqlite3_str_vappendf function in printf.c (CVE-2020-13434) * sqlite: heap-based buffer overflow in multiSelectOrderBy due to mishandling of query-flattener optimization in select.c (CVE-2020-15358) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.4 Release Notes linked from the References section.

Where it's fixed

ProductFixed inFixReleased
Linux
lemon · RHEL 8 0:3.26.0-13.el8 RHSA-2021:1581 May 18, 2021
lemon · Ubuntu 20.04 LTS (focal) 3.31.1-4ubuntu0.2 lemon 3.31.1-4ubuntu0.2 Jun 27, 2020
lemon · ol 8 0:3.26.0-13.el8 ELSA-2021-1581 May 25, 2021
libsqlite3-0 · Ubuntu 20.04 LTS (focal) 3.31.1-4ubuntu0.2 libsqlite3-0 3.31.1-4ubuntu0.2 Jun 27, 2020
libsqlite3-tcl · Ubuntu 20.04 LTS (focal) 3.31.1-4ubuntu0.2 libsqlite3-tcl 3.31.1-4ubuntu0.2 Jun 27, 2020
sqlite · RHEL 8 0:3.26.0-13.el8 RHSA-2021:1581 May 18, 2021
sqlite · ol 8 0:3.26.0-13.el8 ELSA-2021-1581 May 25, 2021
sqlite-devel · RHEL 8 0:3.26.0-13.el8 RHSA-2021:1581 May 18, 2021
sqlite-devel · ol 8 0:3.26.0-13.el8 ELSA-2021-1581 May 25, 2021
sqlite-doc · RHEL 8 0:3.26.0-13.el8 RHSA-2021:1581 May 18, 2021
sqlite-doc · ol 8 0:3.26.0-13.el8 ELSA-2021-1581 May 25, 2021
sqlite-libs · RHEL 8 0:3.26.0-13.el8 RHSA-2021:1581 May 18, 2021
sqlite-libs · ol 8 0:3.26.0-13.el8 ELSA-2021-1581 May 25, 2021
sqlite3 · Ubuntu 20.04 LTS (focal) 3.31.1-4ubuntu0.2 sqlite3 3.31.1-4ubuntu0.2 Jun 27, 2020

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.