2024-05-26 14:27:05 +02:00
### [CVE-2019-19923](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19923)



### Description
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).
### POC
#### Reference
- https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35
2024-06-09 00:33:16 +00:00
- https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35
2024-05-26 14:27:05 +02:00
- https://www.oracle.com/security-alerts/cpuapr2020.html
2024-06-09 00:33:16 +00:00
- https://www.oracle.com/security-alerts/cpuapr2020.html
2024-05-26 14:27:05 +02:00
#### Github
- https://github.com/garethr/snykout