CVE-2020-11656
sqlite: use-after-free in the ALTER TABLE implementation
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, Bitnami, Photon OS. Rated lower by Red Hat (medium).
Description
In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELECT statement.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | ceph | 0:18.2.1-1.azl3 |
| bitnami::Bitnami Vulnerability Database | sqlite | 3.31.2 |
| Photon OS 1.0 | sqlite-autoconf | 3.31.1-3.ph1 |
| Photon OS 2.0 | sqlite | 3.31.1-2.ph2 |
| Photon OS 3.0 | sqlite | 3.31.1-2.ph3 |
| Photon OS 4.0 | mysql, mysql-devel, mysql-icu-data-files | 8.0.23-1.ph4 |
| chainguard | mysql-8.0 | 8.0.38-r0 |
| debian 11 | sqlite3 | 3.32.0-1 |
| debian 12 | sqlite3 | 3.32.0-1 |
| debian 13 | sqlite3 | 3.32.0-1 |
| debian 14 | sqlite3 | 3.32.0-1 |
| echo | sqlite3 | 3.32.0-1 |
Show all 17 entries from 15 sources
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | ceph | 0:18.2.1-1.azl3 |
| bitnami::Bitnami Vulnerability Database | sqlite | 3.31.2 |
| Photon OS 1.0 | sqlite-autoconf | 3.31.1-3.ph1 |
| Photon OS 2.0 | sqlite | 3.31.1-2.ph2 |
| Photon OS 3.0 | sqlite | 3.31.1-2.ph3 |
| Photon OS 4.0 | mysql | 8.0.23-1.ph4 |
| Photon OS 4.0 | mysql-devel | 8.0.23-1.ph4 |
| Photon OS 4.0 | mysql-icu-data-files | 8.0.23-1.ph4 |
| chainguard | mysql-8.0 | 8.0.38-r0 |
| debian 11 | sqlite3 | 3.32.0-1 |
| debian 12 | sqlite3 | 3.32.0-1 |
| debian 13 | sqlite3 | 3.32.0-1 |
| debian 14 | sqlite3 | 3.32.0-1 |
| echo | sqlite3 | 3.32.0-1 |
| root.io debian 11 | rootio-sqlite3 | 3.32.0-1 |
| root.io debian 12 | rootio-sqlite3 | 3.32.0-1 |
| root.io debian 13 | rootio-sqlite3 | 3.32.0-1 |
References
- https://access.redhat.com/security/cve/CVE-2020-11656
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2020-11656
- https://security.freebsd.org/advisories/FreeBSD-SA-20:22.sqlite.asc
- https://security.gentoo.org/glsa/202007-26
- https://security.netapp.com/advisory/ntap-20200416-0001/
All 16 references
- https://www.cve.org/CVERecord?id=CVE-2020-11656
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.sqlite.org/src/info/d09f8c3621d5f7f8
- https://www.tenable.com/security/tns-2021-14
- https://www3.sqlite.org/cgi/src/info/b64674919f673602