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: 8.7 [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]
CVE-ID: CVE-2017-15286
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

SQLite
sqlite (Alpine package)
sqlite
Fedora

How to mitigate CVE-2017-15286

Update to version 3.21.0.

SQLite - update to 3.21.0
sqlite (Alpine package) - update to 3.25.3-r0
sqlite - update to 3.20.1-3.fc27

External References

Related Security Bulletins