CVE-2017-15286
published 2017-10-12CVE-2017-15286: 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`…
PriorityP434high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.90%
85.4th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sqlite3 | < sqlite3 3.20.1-2 (bookworm) | sqlite3 3.20.1-2 (bookworm) |
| ghost | sqlite3 | >= 0 < 3.20.1-2 | 3.20.1-2 |
| ghost | sqlite3 | >= 0 < 3.20.1-2 | 3.20.1-2 |
| ghost | sqlite3 | >= 0 < 3.20.1-2 | 3.20.1-2 |
| ghost | sqlite3 | >= 0 < 3.20.1-2 | 3.20.1-2 |
| sqlite | sqlite | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-cmxm-6c5m-r5c5: SQLite 3
ghsa_unreviewed·2022-05-17
CVE-2017-15286 [HIGH] CWE-476 GHSA-cmxm-6c5m-r5c5: SQLite 3
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.
OSV
CVE-2017-15286: SQLite 3
osv·2017-10-12·CVSS 7.5
CVE-2017-15286 [HIGH] CVE-2017-15286: SQLite 3
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.
Red Hat
sqlite: NULL pointer dereference in tableColumnList
vendor_redhat·2017-10-12·CVSS 7.5
CVE-2017-15286 [HIGH] CWE-476 sqlite: NULL pointer dereference in tableColumnList
sqlite: NULL pointer dereference in tableColumnList
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.
Package: sqlite (Red Hat Enterprise Linux 5) - Will not fix
Package: sqlite (Red Hat Enterprise Linux 6) - Will not fix
Package: sqlite (Red Hat Enterprise Linux 7) - Will not fix
Package: mingw-virt-viewer (Red Hat Enterprise Virtualization 3) - Will not fix
Debian
CVE-2017-15286: sqlite3 - SQLite 3.20.1 has a NULL pointer dereference in tableColumnList in shell.c becau...
vendor_debian·2017·CVSS 7.5
CVE-2017-15286 [HIGH] CVE-2017-15286: sqlite3 - SQLite 3.20.1 has a NULL pointer dereference in tableColumnList in shell.c becau...
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.
Scope: local
bookworm: resolved (fixed in 3.20.1-2)
bullseye: resolved (fixed in 3.20.1-2)
forky: resolved (fixed in 3.20.1-2)
sid: resolved (fixed in 3.20.1-2)
trixie: resolved (fixed in 3.20.1-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-15286 sqlite: NULL pointer dereference in tableColumnList
bugzilla·2017-11-07·CVSS 7.5
CVE-2017-15286 [HIGH] CVE-2017-15286 sqlite: NULL pointer dereference in tableColumnList
CVE-2017-15286 sqlite: NULL pointer dereference in tableColumnList
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. An attacker might use this for a denial of service.
References:
https://github.com/Ha0Team/crash-of-sqlite3/blob/master/poc.md
Upstream patch:
http://www.sqlite.org/src/info/5d0ceb8dcdef92cd
Discussion:
Created mingw-sqlite tracking bugs for this issue:
Affects: epel-7 [bug 1488882]
Affects: fedora-all [bug 1488883]
Created sqlite tracking bugs for this issue:
Affects: fedora-all [bug 1488884]
Bugzilla
CVE-2017-13685 CVE-2017-15286 sqlite: various flaws [fedora-all]
bugzilla·2017-09-06·CVSS 5.5
CVE-2017-13685 [MEDIUM] CVE-2017-13685 CVE-2017-15286 sqlite: various flaws [fedora-all]
CVE-2017-13685 CVE-2017-15286 sqlite: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. W
Bugzilla
CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [fedora-all]
bugzilla·2017-09-06·CVSS 5.5
CVE-2017-13685 [MEDIUM] CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [fedora-all]
CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fed
Bugzilla
CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [epel-7]
bugzilla·2017-09-06·CVSS 5.5
CVE-2017-13685 [MEDIUM] CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [epel-7]
CVE-2017-13685 CVE-2017-15286 mingw-sqlite: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg update'
2017-10-12
Published