CVE-2020-11656CWE-416

CVE-2020-11656

Critical · published April 9, 2020

CVSS v3.1
9.8
EPSS
9%
Percentile
95.1
In the wild
Unconfirmed
What it is

⚠️ A sneaky use-after-free in SQLite could turn your table tidy into a bit of a mess! Think of it like a restaurant that tries to serve an order after the chef has already cleared the kitchen — the tables might not be set right, leading to all sorts of confusion for the diners. This vulnerability in ALTER TABLE is like letting customers sit down at a table that’s just been reconfigured, but with old data still lingering around. An attacker with the means to exploit this vulnerability could potentially manipulate the database's behavior, leading to unexpected results or crashes. While it’s not a full-blown disaster, it could create data integrity issues that are absolutely devastating for any application relying on SQLite.

Put simply

Think of it like a restaurant that tries to serve an order after the chef has already cleared the kitchen — the tables might not be set right, leading to all sorts of confusion for the diners. This vulnerability in ALTER TABLE is like letting customers sit down at a table that’s just been reconfigured, but with old data still lingering around. In SQLite versions up to 3.31.1, the ALTER TABLE command has a use-after-free flaw that can be triggered by an ORDER BY clause in a compound SELECT statement. This can allow for unpredictable behavior during database operations.

What to do

An attacker with the means to exploit this vulnerability could potentially manipulate the database's behavior, leading to unexpected results or crashes. While it’s not a full-blown disaster, it could create data integrity issues that are absolutely devastating for any application relying on SQLite. Upgrade your SQLite to version 3.31.2 or later to patch this issue. Regularly audit your database operations, specifically any use of ALTER TABLE, to ensure proper handling of data and avoid unexpected behavior. You've got this! By updating your SQLite version, you’ll keep your database sailing smoothly! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.08723 · 95.1th percentile
Weakness
CWE-416 · Use After Free
Published
2020-04-09T07:15Z
Affected products (15)
ProductVersionsFixed in
sqlite/sqlite≤ 3.31.1—
netapp/ontap_select_deploy_administration_utilityall versions—
oracle/communications_network_charging_and_control≥ 12.0.0, ≤ 12.0.3—
oracle/communications_network_charging_and_controlall versions—
oracle/communications_network_charging_and_controlall versions—
oracle/enterprise_manager_ops_centerall versions—
oracle/hyperion_infrastructure_technologyall versions—
oracle/mysql≥ 8.0.0, ≤ 8.0.22—
oracle/mysql_workbench≤ 8.0.22—
oracle/outside_in_technologyall versions—
oracle/outside_in_technologyall versions—
oracle/zfs_storage_appliance_kitall versions—
oracle/communications_messaging_serverall versions—
siemens/sinec_infrastructure_network_services< 1.0.1.11.0.1.1
tenable/tenable.sc≤ 5.19.0—
References (24)
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · [email protected]https://security.FreeBSD.org/advisories/FreeBSD-SA-20:22.sqlite.asc · [email protected]https://security.gentoo.org/glsa/202007-26 · [email protected]https://security.netapp.com/advisory/ntap-20200416-0001/ · [email protected]https://www.oracle.com/security-alerts/cpuApr2021.html · [email protected]https://www.oracle.com/security-alerts/cpujan2021.html · [email protected]https://www.oracle.com/security-alerts/cpujul2020.html · [email protected]https://www.oracle.com/security-alerts/cpuoct2020.html · [email protected]https://www.sqlite.org/src/info/d09f8c3621d5f7f8 · [email protected]https://www.tenable.com/security/tns-2021-14 · [email protected]https://www3.sqlite.org/cgi/src/info/b64674919f673602 · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · af854a3a-2127-422b-91ae-364da2661108https://security.FreeBSD.org/advisories/FreeBSD-SA-20:22.sqlite.asc · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202007-26 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20200416-0001/ · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuApr2021.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujan2021.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujul2020.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2020.html · af854a3a-2127-422b-91ae-364da2661108https://www.sqlite.org/src/info/d09f8c3621d5f7f8 · af854a3a-2127-422b-91ae-364da2661108https://www.tenable.com/security/tns-2021-14 · af854a3a-2127-422b-91ae-364da2661108https://www3.sqlite.org/cgi/src/info/b64674919f673602 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-389290.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 09 APR 02:49Z
    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…
    cvelistv5