Skip to content

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.

MediumCVSS 5.5 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
Technology
MySQLUbuntuDebian

Description

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.

Upgrade path

24 packages: 17 fixed.

PackageAffectedFixed inStatus
alpine/sqlite(Alpine v3.12) < 3.32.1-r1 3.32.1-r1 Fixed
apple icloud < 7.21 7.21 Fixed
apple iPadOS < 14.0 14.0 Fixed
apple iphone os < 14.0 14.0 Fixed
apple macos < 11.0.1 11.0.1 Fixed
apple tvOS < 14.0 14.0 Fixed
apple watchOS < 7.0 7.0 Fixed
debian/sqlite3(Debian 12) < 3.32.3-1 3.32.3-1 Fixed
debian/sqlite3(Debian 13) < 3.32.3-1 3.32.3-1 Fixed
debian/sqlite3(Debian 14) < 3.32.3-1 3.32.3-1 Fixed
oracle MySQL <= 8.0.22 after 8.0.22 Fixed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens sinec infrastructure network services < 1.0.1.1 1.0.1.1 Fixed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
SQLite < 3.32.3 3.32.3 Fixed
ubuntu/sqlite3(Ubuntu 20.04) < 3.31.1-4ubuntu0.2; = 3.29.0-2; = 3.30.1-1; = 3.30.1-1ubuntu1 +4 more 3.31.1-4ubuntu0.2 Fixed
Canonical Ubuntu Linux = 20.04 No fix listed Versions listed
oracle communications cloud native core policy = 1.14.0 No fix listed Versions listed
oracle communications messaging server = 8.1 No fix listed Versions listed
oracle communications network charging and control = 6.0.1; = 12.0.2 No fix listed Versions listed
oracle enterprise manager ops center = 12.4.0.0 No fix listed Versions listed
oracle hyperion infrastructure technology = 11.1.2.4 No fix listed Versions listed
oracle outside in technology = 8.5.4; = 8.5.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/sqlite3(Debian:12) < 3.32.3-1 3.32.3-1
debian/sqlite3(Debian:13) < 3.32.3-1 3.32.3-1
debian/sqlite3(Debian:14) < 3.32.3-1 3.32.3-1
alpine/sqlite(Alpine:v3.12) < 3.32.1-r1 3.32.1-r1
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
SQLite < 3.32.3 3.32.3
Canonical Ubuntu Linux = 20.04 No fix listed
apple icloud < 7.21 7.21
apple iPadOS < 14.0 14.0
apple iphone os < 14.0 14.0
apple macos < 11.0.1 11.0.1
apple tvOS < 14.0 14.0
apple watchOS < 7.0 7.0
oracle communications cloud native core policy = 1.14.0 No fix listed
oracle communications messaging server = 8.1 No fix listed
oracle communications network charging and control = 6.0.1 No fix listed
oracle communications network charging and control = 12.0.2 No fix listed
oracle enterprise manager ops center = 12.4.0.0 No fix listed
oracle hyperion infrastructure technology = 11.1.2.4 No fix listed
oracle MySQL <= 8.0.22 No fix listed
oracle outside in technology = 8.5.4 No fix listed
oracle outside in technology = 8.5.5 No fix listed
Siemens sinec infrastructure network services < 1.0.1.1 1.0.1.1
Show 8 more
ProductAffected versionsFixed in
ubuntu/sqlite3(Ubuntu:20.04) < 3.31.1-4ubuntu0.2 3.31.1-4ubuntu0.2
ubuntu/sqlite3(Ubuntu:20.04) = 3.29.0-2 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.30.1-1 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.30.1-1ubuntu1 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.31.1-1ubuntu1 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.31.1-3 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.31.1-4 No fix listed
ubuntu/sqlite3(Ubuntu:20.04) = 3.31.1-4ubuntu0.1 No fix listed

References