Bug 1314807

Summary: sqlite: Buffer overread in fts5 caused by corrupted database
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alex, bazanluis20, databases-maint, jrusnack, jstanek, puntogil, redhat-bugzilla, slawomir, wilmer5
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sqlite 3.11.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-02 04:18:16 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: 1314808, 1314809, 1314810    
Bug Blocks: 1314812    

Description Adam Mariš 2016-03-04 15:05:38 UTC
Huge buffer overread was fixed in sqlite 3.11.1, that might occur if FTS5 is used to query a corrupt database file.

Upstream patch:

https://www.sqlite.org/src/info/daef5869f4d62ebb

Comment 1 Adam Mariš 2016-03-04 15:06:29 UTC
Created sqlite2 tracking bugs for this issue:

Affects: fedora-all [bug 1314809]
Affects: epel-all [bug 1314810]

Comment 2 Adam Mariš 2016-03-04 15:06:36 UTC
Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 1314808]

Comment 3 Doran Moppert 2016-06-02 04:16:41 UTC
FTS5 was only added to sqlite in version 3.9.0.  RHEL sqlite packages are all
prior to this so remain unaffected.