NULL pointer dereference in SQLite - CVE-2017-15286

 

NULL pointer dereference in SQLite - CVE-2017-15286

Published: October 12, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33221
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-15286
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SQLite
Affected software:
SQLite

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error 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. A remote attacker can perform a denial of service (DoS) attack.


How to mitigate CVE-2017-15286

Update to version 3.21.0.

Sources