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).
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.
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 | * |