CVE-2020-15358
In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of…
Check your servers for CVE-2020-15358
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-15358 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 1.02%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-15358 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-15358RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-15358Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-15358
trivy image --scanners vuln IMAGE | grep CVE-2020-15358
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GLSA-202007-26 security.gentoo.org · vendor advisory
- USN-4438-1 usn.ubuntu.com · vendor advisory
- https://security.netapp.com/advisory/ntap-20200709-0001/ security.netapp.com
- https://support.apple.com/kb/HT211843 support.apple.com
- https://support.apple.com/kb/HT211850 support.apple.com
- https://support.apple.com/kb/HT211844 support.apple.com
- https://support.apple.com/kb/HT211847 support.apple.com
- https://support.apple.com/kb/HT211931 support.apple.com
- https://support.apple.com/kb/HT212147 support.apple.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf cert-portal.siemens.com
Other references
- https://www.sqlite.org/src/tktview?name=8f157e8010 sqlite.org
- https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2 sqlite.org
- https://www.sqlite.org/src/info/10fa79d00f8091e5 sqlite.org
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- 20201115 APPLE-SA-2020-11-13-4 Additional information for APPLE-SA-2020-09-16-2 tvOS 14.0 seclists.org · mailing list
- 20201115 APPLE-SA-2020-11-13-3 Additional information for APPLE-SA-2020-09-16-1 iOS 14.0 and iPadOS 14.0 seclists.org · mailing list
- 20201115 APPLE-SA-2020-11-13-6 Additional information for APPLE-SA-2020-09-16-4 watchOS 7.0 seclists.org · mailing list
- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 seclists.org · mailing list
- https://www.oracle.com/security-alerts/cpujan2021.html oracle.com
- 20210201 APPLE-SA-2021-02-01-1 macOS Big Sur 11.2, Security Update 2021-001 Catalina, Security Update 2021-001 Mojave seclists.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
Source: the record CVE-2020-15358 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse