In SQLite through 3.22.0, databases whose schema is corrupted using a CREATE TABLE AS statement could cause a NULL pointer dereference, related to build.c and prepare.c.
https://www.sqlite.org/cgi/src/timeline?r=corrupt-schema
https://bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1756349
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6964
https://www.sqlite.org/cgi/src/vdiff?from=1774f1c3baf0bc3d&to=d75e67654aa9620b
http://www.securityfocus.com/bid/103466
https://lists.debian.org/debian-lts-announce/2019/01/msg00009.html
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.html
https://usn.ubuntu.com/4205-1/
https://usn.ubuntu.com/4394-1/
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
https://lists.apache.org/thread.html/[email protected]%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/[email protected]%3Cissues.bookkeeper.apache.org%3E
Source: MITRE
Published: 2018-03-17
Updated: 2021-06-29
Type: CWE-476
Base Score: 5
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 10
Severity: MEDIUM
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 3.9
Severity: HIGH