Bug 2054793 (CVE-2021-45346)

Summary: CVE-2021-45346 sqlite: crafted SQL query allows a malicious user to obtain sensitive information
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alex, bdettelb, caswilli, databases-maint, dhalasz, drizt72, erik-fedora, fedora, fjansen, jburrell, jwong, kaycoth, micjohns, mmuzila, mschorm, odubaj, pkubat, praiskup, rfreiman, rh-spice-bugs, rjones, spotrh, sthirugn, tcarlin, vkrizan, vmugicag, wilmer5, zmiklank
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw was found in the SQLite Project via maliciously crafted SQL Queries (made via editing the Database File). This flaw allows a malicious user to obtain sensitive information due to a possible query to a record and leaking subsequent bytes of memory that extend beyond the record.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-22 13:01:33 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: 2054794, 2054795, 2054796, 2080248, 2080249, 2080250    
Bug Blocks: 2054797    

Description Guilherme de Almeida Suckevicz 2022-02-15 17:37:11 UTC
A Memory Leak vulnerabilty exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicous user obtain sensitive information..

Reference:
https://github.com/guyinatuxedo/sqlite3_record_leaking

Comment 1 Guilherme de Almeida Suckevicz 2022-02-15 17:37:45 UTC
Created mingw-sqlite tracking bugs for this issue:

Affects: fedora-all [bug 2054794]


Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 2054795]


Created sqlite2 tracking bugs for this issue:

Affects: fedora-all [bug 2054796]