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).
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "lemon" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "lemon-dbgsym" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "libsqlite3-0" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "libsqlite3-0-dbgsym" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "libsqlite3-dev" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "libsqlite3-tcl" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "libsqlite3-tcl-dbgsym" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "sqlite3" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "sqlite3-dbgsym" }, { "binary_version": "3.22.0-1ubuntu0.3", "binary_name": "sqlite3-doc" } ] }