CVE Vulnerabilities

CVE-2019-19923

NULL Pointer Dereference

Published: Dec 24, 2019 | Modified: Apr 15, 2022
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Sqlite Sqlite 3.30.1 (including) 3.30.1 (including)
Red Hat Enterprise Linux 6 Supplementary RedHat chromium-browser-0:80.0.3987.87-1.el6_10 *
Red Hat Enterprise Linux 8 RedHat sqlite-0:3.26.0-6.el8 *
Red Hat Enterprise Linux 8 RedHat sqlite-0:3.26.0-6.el8 *
Sqlite3 Ubuntu bionic *
Sqlite3 Ubuntu disco *
Sqlite3 Ubuntu eoan *
Sqlite3 Ubuntu trusty *
Sqlite3 Ubuntu upstream *

Potential Mitigations

References