SQLite: security vulnerability (CVE-2020-15358)
Published Last modified Sources: OSV, CVE.org, Msrc Update Guide
What is affected, what to do
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.
Update SQLite to version 3.32.3, Apple iCloud to version 7.21, Apple iPadOS to version 14.0.
- Affected
- SQLite
lt *..3.32.3 - Canonical Ubuntu Linux
eq 20.04..20.04 - Apple iCloud
lt *..7.21 - Apple iPadOS
lt *..14.0 - Apple iPhone OS
lt *..14.0 - Apple macOS
lt *..11.0.1 - Apple tvOS
lt *..14.0 - Apple watchOS
lt *..7.0 - Oracle Communications Cloud Native Core Policy
eq 1.14.0..1.14.0 - Oracle Communications Messaging Server
eq 8.1..8.1 - Oracle Communications Network Charging And Control
eq 6.0.1..6.0.1 - Oracle Communications Network Charging And Control
eq 12.0.2..12.0.2 - Oracle Enterprise Manager Ops Center
eq 12.4.0.0..12.4.0.0 - Oracle Hyperion Infrastructure Technology
eq 11.1.2.4..11.1.2.4 - Oracle MySQL Server
lte *..8.0.22 - Oracle Outside In Technology
eq 8.5.4..8.5.4 - Oracle Outside In Technology
eq 8.5.5..8.5.5 - Siemens Sinec Infrastructure Network Services
lt *..1.0.1.1
- SQLite
- Fixed in
- SQLite
3.32.3 - Apple iCloud
7.21 - Apple iPadOS
14.0 - Apple iPhone OS
14.0 - Apple macOS
11.0.1 - Apple tvOS
14.0 - Apple watchOS
7.0 - Siemens Sinec Infrastructure Network Services
1.0.1.1
- SQLite
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
5.5
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
5.5
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: OSV, CVE.org, Msrc Update Guide
1.0 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 63.2
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 59.48 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 5.5 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 5.5
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 1.0 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 63.2
- High — this CVE ranks above the median of all CVEs scored today (rank ≥ 36%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: OSV (Open Source Vulnerabilities), cvelistv5, NVD (NIST), Microsoft Security Update Guide
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| apple | icloud |
|
|
| oracle | communications_cloud_native_core_policy |
|
|
| oracle | communications_messaging_server |
|
|
| oracle | communications_network_charging_and_control |
|
|
| oracle | enterprise_manager_ops_center |
|
|
| oracle | hyperion_infrastructure_technology |
|
|
| oracle | mysql |
|
|
| oracle | outside_in_technology |
|
|
| siemens | sinec_infrastructure_network_services |
|
|
| sqlite | sqlite |
|
|
| android | platform/external/sqlite |
|
|
Vendors and products
- Android Platform/external/sqlite
- Apple Apple iCloud for Windows
- Apple Apple iPadOS
- Apple Apple iPhone OS
- Apple Apple macOS
- Apple Apple tvOS
- Apple Apple watchOS
- Canonical Canonical Ubuntu Linux
- Oracle Communications Cloud Native Core Policy
- Oracle Oracle Communications Messaging Server
- Oracle Communications Network Charging And Control
- Oracle Oracle Enterprise Manager Ops Center
Affected operating systems
| Linux | canonical | ubuntu_linux | 20.04 |
| macOS | apple | macos | — |
| Mobile | apple | iphone_os | — |
| Other | apple | ipados | — |
| Other | apple | tvos | — |
| Other | apple | watchos | — |
References & sources
- source.android.comsecurity/bulletin/2021-10-01advisory
- android.googlesource.complatform/external/sqlite/+/1935111b5e902f2ca305d1b2efae6fe46acf…fix
- sqlite.orgsrc/tktview?name=8f157e8010x_refsource_MISC
- sqlite.orgsrc/timeline?p=version-3.32.3&bt=version-3.32.2x_refsource_MISC
- sqlite.orgsrc/info/10fa79d00f8091e5x_refsource_MISC
- security.gentoo.orgGLSA-202007-26Vendor advisory, x_refsource_GENTOO
- usn.ubuntu.comUSN-4438-1Vendor advisory, x_refsource_UBUNTU
- oracle.comsecurity-alerts/cpuoct2020.htmlx_refsource_MISC
- security.netapp.comadvisory/ntap-20200709-0001x_refsource_CONFIRM
- seclists.org20201115 APPLE-SA-2020-11-13-4 Additional information for APPLE-SA-2020-09-16-2 tvOS 14.0Mailing list, x_refsource_FULLDISC
- seclists.org20201115 APPLE-SA-2020-11-13-3 Additional information for APPLE-SA-2020-09-16-1 iOS 14.0 and iPadOS 14.0Mailing list, x_refsource_FULLDISC
- seclists.org20201115 APPLE-SA-2020-11-13-6 Additional information for APPLE-SA-2020-09-16-4 watchOS 7.0Mailing list, x_refsource_FULLDISC
- seclists.org20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1Mailing list, x_refsource_FULLDISC
- oracle.comsecurity-alerts/cpujan2021.htmlx_refsource_MISC
- support.apple.comkb/HT211843x_refsource_CONFIRM
- support.apple.comkb/HT211850x_refsource_CONFIRM
- support.apple.comkb/HT211844x_refsource_CONFIRM
- support.apple.comkb/HT211847x_refsource_CONFIRM
- support.apple.comkb/HT211931x_refsource_CONFIRM
- seclists.org20210201 APPLE-SA-2021-02-01-1 macOS Big Sur 11.2, Security Update 2021-001 Catalina, Security Update 2021-001 MojaveMailing list, x_refsource_FULLDISC
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedMITRE
Show 66 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://seclists.org/fulldisclosure/2020/Dec/32Reference added —http://seclists.org/fulldisclosure/2020/Nov/19Reference added —http://seclists.org/fulldisclosure/2020/Nov/20Reference added —http://seclists.org/fulldisclosure/2020/Nov/22Reference added —http://seclists.org/fulldisclosure/2021/Feb/14Reference added —https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfReference added —https://security.gentoo.org/glsa/202007-26Reference added —https://security.netapp.com/advisory/ntap-20200709-0001/Reference added —https://support.apple.com/kb/HT211843Reference added —https://support.apple.com/kb/HT211844Reference added —https://support.apple.com/kb/HT211847Reference added —https://support.apple.com/kb/HT211850Reference added —https://support.apple.com/kb/HT211931Reference added —https://support.apple.com/kb/HT212147Reference added —https://usn.ubuntu.com/4438-1/Reference added —https://www.oracle.com/security-alerts/cpuApr2021.htmlReference added —https://www.oracle.com/security-alerts/cpuapr2022.htmlReference added —https://www.oracle.com/security-alerts/cpujan2021.htmlReference added —https://www.oracle.com/security-alerts/cpuoct2020.htmlReference added —https://www.sqlite.org/src/info/10fa79d00f8091e5Reference added —https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2Reference added —https://www.sqlite.org/src/tktview?name=8f157e8010Reference removed http://seclists.org/fulldisclosure/2020/Dec/32—Reference removed http://seclists.org/fulldisclosure/2020/Nov/19—Reference removed http://seclists.org/fulldisclosure/2020/Nov/20—Reference removed http://seclists.org/fulldisclosure/2020/Nov/22—Reference removed http://seclists.org/fulldisclosure/2021/Feb/14—Reference removed https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf—Reference removed https://security.gentoo.org/glsa/202007-26—Reference removed https://security.netapp.com/advisory/ntap-20200709-0001/—Reference removed https://support.apple.com/kb/HT211843—Reference removed https://support.apple.com/kb/HT211844—Reference removed https://support.apple.com/kb/HT211847—Reference removed https://support.apple.com/kb/HT211850—Reference removed https://support.apple.com/kb/HT211931—Reference removed https://support.apple.com/kb/HT212147—Reference removed https://usn.ubuntu.com/4438-1/—Reference removed https://www.oracle.com/security-alerts/cpuApr2021.html—Reference removed https://www.oracle.com/security-alerts/cpuapr2022.html—Reference removed https://www.oracle.com/security-alerts/cpujan2021.html—Reference removed https://www.oracle.com/security-alerts/cpuoct2020.html—Reference removed https://www.sqlite.org/src/info/10fa79d00f8091e5—Reference removed https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2—Reference removed https://www.sqlite.org/src/tktview?name=8f157e8010—Reference type removed http://seclists.org/fulldisclosure/2020/Dec/32 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/19 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/20 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/22 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2021/Feb/14 Types: Mailing List, Third Party Advisory—Reference type removed https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Types: Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/202007-26 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20200709-0001/ Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211843 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211844 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211847 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211850 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211931 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT212147 Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/4438-1/ Types: Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuApr2021.html Types: Patch, Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuapr2022.html Types: Patch, Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpujan2021.html Types: Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuoct2020.html Types: Third Party Advisory—Reference type removed https://www.sqlite.org/src/info/10fa79d00f8091e5 Types: Patch, Vendor Advisory—Reference type removed https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2 Types: Patch, Vendor Advisory—Reference type removed https://www.sqlite.org/src/tktview?name=8f157e8010 Types: Exploit, Vendor Advisory—Source identifier: cve@mitre.org
Record modifiedCVE Program
Show 66 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://seclists.org/fulldisclosure/2020/Dec/32Reference added —http://seclists.org/fulldisclosure/2020/Nov/19Reference added —http://seclists.org/fulldisclosure/2020/Nov/20Reference added —http://seclists.org/fulldisclosure/2020/Nov/22Reference added —http://seclists.org/fulldisclosure/2021/Feb/14Reference added —https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfReference added —https://security.gentoo.org/glsa/202007-26Reference added —https://security.netapp.com/advisory/ntap-20200709-0001/Reference added —https://support.apple.com/kb/HT211843Reference added —https://support.apple.com/kb/HT211844Reference added —https://support.apple.com/kb/HT211847Reference added —https://support.apple.com/kb/HT211850Reference added —https://support.apple.com/kb/HT211931Reference added —https://support.apple.com/kb/HT212147Reference added —https://usn.ubuntu.com/4438-1/Reference added —https://www.oracle.com/security-alerts/cpuApr2021.htmlReference added —https://www.oracle.com/security-alerts/cpuapr2022.htmlReference added —https://www.oracle.com/security-alerts/cpujan2021.htmlReference added —https://www.oracle.com/security-alerts/cpuoct2020.htmlReference added —https://www.sqlite.org/src/info/10fa79d00f8091e5Reference added —https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2Reference added —https://www.sqlite.org/src/tktview?name=8f157e8010Reference removed http://seclists.org/fulldisclosure/2020/Dec/32—Reference removed http://seclists.org/fulldisclosure/2020/Nov/19—Reference removed http://seclists.org/fulldisclosure/2020/Nov/20—Reference removed http://seclists.org/fulldisclosure/2020/Nov/22—Reference removed http://seclists.org/fulldisclosure/2021/Feb/14—Reference removed https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf—Reference removed https://security.gentoo.org/glsa/202007-26—Reference removed https://security.netapp.com/advisory/ntap-20200709-0001/—Reference removed https://support.apple.com/kb/HT211843—Reference removed https://support.apple.com/kb/HT211844—Reference removed https://support.apple.com/kb/HT211847—Reference removed https://support.apple.com/kb/HT211850—Reference removed https://support.apple.com/kb/HT211931—Reference removed https://support.apple.com/kb/HT212147—Reference removed https://usn.ubuntu.com/4438-1/—Reference removed https://www.oracle.com/security-alerts/cpuApr2021.html—Reference removed https://www.oracle.com/security-alerts/cpuapr2022.html—Reference removed https://www.oracle.com/security-alerts/cpujan2021.html—Reference removed https://www.oracle.com/security-alerts/cpuoct2020.html—Reference removed https://www.sqlite.org/src/info/10fa79d00f8091e5—Reference removed https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2—Reference removed https://www.sqlite.org/src/tktview?name=8f157e8010—Reference type removed http://seclists.org/fulldisclosure/2020/Dec/32 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/19 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/20 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2020/Nov/22 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2021/Feb/14 Types: Mailing List, Third Party Advisory—Reference type removed https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Types: Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/202007-26 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20200709-0001/ Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211843 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211844 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211847 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211850 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT211931 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT212147 Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/4438-1/ Types: Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuApr2021.html Types: Patch, Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuapr2022.html Types: Patch, Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpujan2021.html Types: Third Party Advisory—Reference type removed https://www.oracle.com/security-alerts/cpuoct2020.html Types: Third Party Advisory—Reference type removed https://www.sqlite.org/src/info/10fa79d00f8091e5 Types: Patch, Vendor Advisory—Reference type removed https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2 Types: Patch, Vendor Advisory—Reference type removed https://www.sqlite.org/src/tktview?name=8f157e8010 Types: Exploit, Vendor Advisory—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Record modifiedSiemens ADP
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2020/15xxx/CVE-2020-15358.json">CVE-2020-15358</a>Reference added —https://cert-portal.siemens.com/productcert/html/ssa-389290.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlSource identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2020-15358"><img src="https://intel.neosec.eu/badge/cve/CVE-2020-15358.svg?lang=en" alt="CVE-2020-15358 – NEOSEC Intel" height="20"></a>