CVE-2017-15286

NameCVE-2017-15286
DescriptionSQLite 3.20.1 has a NULL pointer dereference in tableColumnList in shell.c because it fails to consider certain cases where `sqlite3_step(pStmt)==SQLITE_ROW` is false and a data structure is never initialized.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs878680

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite3 (PTS)wheezy3.7.13-1+deb7u2fixed
wheezy (security)3.7.13-1+deb7u4fixed
jessie3.8.7.1-1+deb8u2fixed
jessie (security)3.8.7.1-1+deb8u1fixed
stretch3.16.2-5+deb9u1fixed
buster, sid3.21.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlite3source(unstable)3.20.1-2low878680
sqlite3sourcejessie(not affected)
sqlite3sourcestretch(not affected)
sqlite3sourcewheezy(not affected)

Notes

[stretch] - sqlite3 <not-affected> (Vulnerable code introduced later)
[jessie] - sqlite3 <not-affected> (Vulnerable code introduced later)
[wheezy] - sqlite3 <not-affected> (Vulnerable code not present)
https://github.com/Ha0Team/crash-of-sqlite3/blob/master/poc.md
https://www.sqlite.org/src/info/5d0ceb8dcdef92cd

Search for package or bug name: Reporting problems