Bug 1510438 (CVE-2017-15286)

Summary: CVE-2017-15286 sqlite: NULL pointer dereference in tableColumnList
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alex, bmcclain, cfergeau, databases-maint, dblechte, drizt72, eedri, erik-fedora, fedora, hhorak, itamar, jakub.dornak, jstanek, lsurette, mgoldboi, michal.skrivanek, mschorm, pkubat, pmatilai, praiskup, rh-spice-bugs, rjones, sherold, srevivo, wilmer5, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:30:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1488882, 1488883, 1488884    
Bug Blocks: 1506679    

Description Andrej Nemec 2017-11-07 12:07:32 UTC
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

Comment 1 Andrej Nemec 2017-11-07 12:08:32 UTC
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]