NULL Pointer Dereference Affecting sqlite3 package, versions <3.16.2-5+deb9u2
Snyk CVSS
Attack Complexity
Low
Availability
High
Threat Intelligence
EPSS
2.33% (90th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-SQLITE3-307542
- published 17 Mar 2018
- disclosed 17 Mar 2018
Introduced: 17 Mar 2018
CVE-2018-8740 Open this link in a new tabHow to fix?
Upgrade Debian:9
sqlite3
to version 3.16.2-5+deb9u2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream sqlite3
package and not the sqlite3
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2018-8740
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8740
- https://lists.debian.org/debian-lts-announce/2019/01/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6964
- https://bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1756349
- https://www.sqlite.org/cgi/src/timeline?r=corrupt-schema
- https://www.sqlite.org/cgi/src/vdiff?from=1774f1c3baf0bc3d&to=d75e67654aa9620b
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.html
- http://www.securityfocus.com/bid/103466
- https://usn.ubuntu.com/4205-1/
- https://usn.ubuntu.com/4394-1/
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-8740
- https://lists.debian.org/debian-lts-announce/2023/05/msg00022.html
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/