Bug 1783305 (CVE-2019-19645)

Summary: CVE-2019-19645 sqlite: infinite recursion via certain types of self-referential views in conjunction with ALTER TABLE statements
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: databases-maint, drizt72, erik-fedora, fedora, itamar, mschorm, odubaj, pkubat, praiskup, rh-spice-bugs, rjones, wilmer5
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: 2021-10-25 22:13:56 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: 1783306, 1783307, 1783309, 1787525, 1787526    
Bug Blocks: 1783308    

Description Guilherme de Almeida Suckevicz 2019-12-13 14:48:35 UTC
alter.c in SQLite through 3.30.1 allows attackers to trigger infinite recursion via certain types of self-referential views in conjunction with ALTER TABLE statements.

Reference and upstream commit:
https://github.com/sqlite/sqlite/commit/38096961c7cd109110ac21d3ed7dad7e0cb0ae06

Comment 1 Guilherme de Almeida Suckevicz 2019-12-13 14:48:57 UTC
Created mingw-sqlite tracking bugs for this issue:

Affects: epel-7 [bug 1783307]
Affects: fedora-all [bug 1783309]


Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 1783306]

Comment 3 Huzaifa S. Sidhpurwala 2020-01-03 09:24:38 UTC
Basically DoS due to infinite recursion and stack exhaustion.