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).
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35 | patch |
https://security.netapp.com/advisory/ntap-20200114-0003/ | third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html | mailing list third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html | mailing list third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2020:0514 | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html | mailing list third party advisory vendor advisory |
https://www.debian.org/security/2020/dsa-4638 | third party advisory vendor advisory |
https://usn.ubuntu.com/4298-1/ | vendor advisory broken link |
https://www.oracle.com/security-alerts/cpuapr2020.html | third party advisory patch |
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | third party advisory patch |