NULL pointer dereference in SQLite - CVE-2019-19923

 

NULL pointer dereference in SQLite - CVE-2019-19923

Published: January 3, 2020 / Updated: January 22, 2020


Vulnerability identifier: #VU23914
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-19923
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to flattenSubquery in "select.c" mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. A remote attacker can cause a NULL pointer dereference and perform a denial of service (DoS) attack.


Affected software

SQLite
Arch Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE MicroOS
Red Hat Enterprise Linux Server
SUSE Enterprise Storage
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Scientific Computing
HPE Helion Openstack
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
Opensuse
Ubuntu
sqlite (Red Hat package)
sqlite3 (Ubuntu package)
libsqlite3-0 (Ubuntu package)
chromium (Debian package)
libsqlite3-0
libsqlite3-0-debuginfo
sqlite3-debuginfo
sqlite3-debugsource
sqlite3
sqlite3-devel
libsqlite3-0-32bit
libsqlite3-0-32bit-debuginfo
libsqlite3-0-debuginfo-32bit
EMC Integrated Data Protection Appliance
SUSE Package Hub for SUSE Linux Enterprise
Dell EMC Data Protection Search
Autodesk Infraworks
SINEC INS
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC VxRail Appliance
Google Chrome

How to mitigate CVE-2019-19923

Install updates from vendor's website.

SQLite - update to 3.31.0
sqlite (Red Hat package) - update to 3.26.0-6.el8
EMC Integrated Data Protection Appliance - update to 2.7.1
Dell EMC Data Protection Search - update to 19.6.0
Autodesk Infraworks - addressed in versions 2021.2 Hotfix 9, 2023.1 Hotfix 1
sqlite3 (Ubuntu package) - addressed in versions 3.11.0-1ubuntu1.4, 3.22.0-1ubuntu0.3, 3.29.0-2ubuntu0.2
libsqlite3-0 (Ubuntu package) - addressed in versions 3.11.0-1ubuntu1.4, 3.22.0-1ubuntu0.3, 3.29.0-2ubuntu0.2
chromium (Debian package) - update to 80.0.3987.132-1~deb10u1
libsqlite3-0 - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-debuginfo - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-debuginfo - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-debugsource - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3 - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-devel - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-32bit - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-32bit-debuginfo - update to 3.36.0-3.12.1
libsqlite3-0-debuginfo-32bit - update to 3.36.0-9.18.1
SINEC INS - update to 1.0.1.1
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC VxRail Appliance - update to 7.0.203
Google Chrome - update to 80.0.3987.87

External References

Related Security Bulletins