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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2020-15358 vendor-advisory
- security.alpinelinux.org vendor-advisory
- www.sqlite.org exploit vendor-advisory
- www.sqlite.org issue-tracking patch vendor-advisory
- www.sqlite.org patch vendor-advisory
- GLSA-202007-26 third-party-advisory vendor-advisory
- USN-4438-1 third-party-advisory vendor-advisory
- www.oracle.com third-party-advisory
- security.netapp.com third-party-advisory
- 20201115 APPLE-SA-2020-11-13-4 Additional information for APPLE-SA-2020-09-16-2 tvOS 14.0 mailing-list third-party-advisory
- 20201115 APPLE-SA-2020-11-13-3 Additional information for APPLE-SA-2020-09-16-1 iOS 14.0 and iPadOS 14.0 mailing-list third-party-advisory
- 20201115 APPLE-SA-2020-11-13-6 Additional information for APPLE-SA-2020-09-16-4 watchOS 7.0 mailing-list third-party-advisory
- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 mailing-list third-party-advisory
- www.oracle.com third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- support.apple.com third-party-advisory
- 20210201 APPLE-SA-2021-02-01-1 macOS Big Sur 11.2, Security Update 2021-001 Catalina, Security Update 2021-001 Mojave mailing-list third-party-advisory
- www.oracle.com patch third-party-advisory
- support.apple.com third-party-advisory
- www.oracle.com patch third-party-advisory
- cert-portal.siemens.com third-party-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2020-7355 third-party-advisory