Bug 2122329 (CVE-2020-35527)

Summary: CVE-2020-35527 sqlite: Out of bounds access during table rename
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, alex, alexfails, bdettelb, caswilli, databases-maint, dffrench, drizt72, erik-fedora, fedora, fjansen, gzaronik, jburrell, jkoehler, jwong, kaycoth, kde-sig, kevin, kshier, mmuzila, mschorm, ngough, odubaj, pkubat, praiskup, rdieter, rgodfrey, rh-spice-bugs, rjones, spotrh, tcarlin, tkasparek, vitaly, wilmer5, zmiklank
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sqlite-3.34.1-5.el9 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was found in SQLite. This security flaw occurs when the ALTER TABLE for views has a nested FROM clause. This flaw allows an attacker to triage an out-of-bounds read and access confidential data successfully.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-30 16:16:24 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: 2122484, 2122485, 2122486, 2122487, 2122488, 2122489, 2122490, 2122491, 2122492, 2122493, 2124886    
Bug Blocks: 2122330    

Description Pedro Sampaio 2022-08-29 19:37:00 UTC
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.

Upstream fix:

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

Comment 1 Sandipan Roy 2022-08-30 06:27:17 UTC
Created mingw-sqlite tracking bugs for this issue:

Affects: fedora-all [bug 2122487]


Created qt5-qtwebengine tracking bugs for this issue:

Affects: epel-all [bug 2122484]
Affects: fedora-all [bug 2122488]


Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 2122485]


Created sqlite2 tracking bugs for this issue:

Affects: epel-all [bug 2122486]
Affects: fedora-all [bug 2122489]


Created tdlib tracking bugs for this issue:

Affects: fedora-all [bug 2122490]

Comment 7 Pedro Sampaio 2022-09-28 13:51:47 UTC
In reply to comment #4:
> Unknown CVE ID CVE-2020-35527
> 
> https://www.cvedetails.com/cve-details.php?cve_id=CVE-2020-35527

Not sure what to respond here. Please check:

https://nvd.nist.gov/vuln/detail/CVE-2020-35527

Comment 8 errata-xmlrpc 2022-10-25 08:41:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7108 https://access.redhat.com/errata/RHSA-2022:7108

Comment 9 Product Security DevOps Team 2022-11-30 16:16:21 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-35527