First published: Sat Mar 17 2018(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
SQLite SQLite | <=3.22.0 | |
Debian Debian Linux | =8.0 | |
debian/sqlite3 | 3.34.1-3 3.34.1-3+deb11u1 3.40.1-2+deb12u1 3.46.1-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-8740 is a vulnerability in SQLite through 3.22.0 that can cause a NULL pointer dereference when databases with corrupted schema are used with a CREATE TABLE AS statement.
The severity of CVE-2018-8740 is rated as high with a severity value of 7.5.
CVE-2018-8740 affects SQLite versions up to and including 3.22.0 and can cause a NULL pointer dereference when databases with corrupted schema are used with a CREATE TABLE AS statement.
The remedy for CVE-2018-8740 in Debian is to update to version 3.27.2-3+deb10u1 or higher for SQLite or version 3.27.2-3+deb10u1, 3.27.2-3+deb10u2, 3.34.1-3, 3.40.1-2, or 3.43.2-1 for SQLite3.
The remedy for CVE-2018-8740 in Ubuntu is to update to version 3.22.0-1ubuntu0.4 for SQLite3 in Bionic, version 3.8.2-1ubuntu2.2 for SQLite3 in Trusty, version 3.22.0-2 for SQLite3 with upstream, or version 3.11.0-1ubuntu1.1 for SQLite3 in Xenial.