NULL Pointer Dereference Affecting sqlite3 package, versions <3.20.1-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.12% (47th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-SQLITE3-307577
  • published12 Oct 2017
  • disclosed12 Oct 2017

Introduced: 12 Oct 2017

CVE-2017-15286  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:10 sqlite3 to version 3.20.1-2 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:10 relevant fixed versions and status.

SQLite 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.