Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777990 (CVE-2021-20227) - <dev-db/sqlite-3.34.1: use after free leading to possible code execution (CVE-2021-20227)
Summary: <dev-db/sqlite-3.34.1: use after free leading to possible code execution (CVE...
Status: IN_PROGRESS
Alias: CVE-2021-20227
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL: https://www.sqlite.org/releaselog/3_3...
Whiteboard: A2 [glsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 14:42 UTC by John Helmert III
Modified: 2021-04-02 17:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-03-24 14:42:01 UTC
CVE-2021-20227 (https://bugzilla.redhat.com/show_bug.cgi?id=1924886):

A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.


Fixed in 3.34.1, please bump.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-26 14:38:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132acb75720c31a40559b2d9e279182318b8eb4b

commit 132acb75720c31a40559b2d9e279182318b8eb4b
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2021-03-25 00:00:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-03-26 14:38:01 +0000

    dev-db/sqlite: Version bump (3.34.1).
    
    Bug: https://bugs.gentoo.org/777990
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-db/sqlite/Manifest                            |   2 +
 dev-db/sqlite/files/sqlite-3.34.1-build_1.1.patch | 375 ++++++++++++++++
 dev-db/sqlite/files/sqlite-3.34.1-build_1.2.patch | 500 ++++++++++++++++++++++
 dev-db/sqlite/files/sqlite-3.34.1-build_2.1.patch | 291 +++++++++++++
 dev-db/sqlite/files/sqlite-3.34.1-build_2.2.patch | 441 +++++++++++++++++++
 dev-db/sqlite/sqlite-3.34.1.ebuild                | 427 ++++++++++++++++++
 6 files changed, 2036 insertions(+)
Comment 2 John Helmert III gentoo-dev Security 2021-03-26 14:40:40 UTC
Please cleanup.
Comment 3 John Helmert III gentoo-dev Security 2021-03-26 14:48:47 UTC
(In reply to John Helmert III from comment #2)
> Please cleanup.

No, that's wrong. Ready to stabilize for other arches?
Comment 4 Sam James archtester gentoo-dev Security 2021-03-26 18:37:56 UTC
ppc64 done
Comment 5 Sam James archtester gentoo-dev Security 2021-03-26 18:38:05 UTC
ppc done
Comment 6 Sam James archtester gentoo-dev Security 2021-03-26 23:52:32 UTC
arm64 done
Comment 7 Sam James archtester gentoo-dev Security 2021-03-27 16:08:36 UTC
sparc done
Comment 8 Sam James archtester gentoo-dev Security 2021-03-28 07:10:46 UTC
arm done
Comment 9 Rolf Eike Beer 2021-03-29 19:49:31 UTC
hppa stable
Comment 10 Thomas Deutschmann gentoo-dev Security 2021-03-31 12:07:29 UTC
New GLSA request filed.
Comment 11 Agostino Sarubbo gentoo-dev 2021-03-31 14:08:41 UTC
s390 stable.

Maintainer(s), please cleanup.
Comment 12 NATTkA bot gentoo-dev 2021-03-31 14:09:03 UTC
Resetting sanity check; keywords are not fully specified and arches are not CC-ed.
Comment 13 Larry the Git Cow gentoo-dev 2021-04-02 15:00:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648611c35f8bdad94062e54b39cdffc63acc0a50

commit 648611c35f8bdad94062e54b39cdffc63acc0a50
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2021-04-01 22:00:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-04-02 15:00:48 +0000

    dev-db/sqlite: Delete old versions (3.33.0, 3.34.0).
    
    Bug: https://bugs.gentoo.org/777990
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-db/sqlite/Manifest                            |   4 -
 dev-db/sqlite/files/sqlite-3.33.0-build_1.1.patch | 413 ------------------
 dev-db/sqlite/files/sqlite-3.33.0-build_1.2.patch | 422 ------------------
 dev-db/sqlite/files/sqlite-3.33.0-build_2.1.patch | 286 -------------
 dev-db/sqlite/files/sqlite-3.33.0-build_2.2.patch | 434 -------------------
 dev-db/sqlite/files/sqlite-3.34.0-build_1.1.patch | 375 ----------------
 dev-db/sqlite/files/sqlite-3.34.0-build_1.2.patch | 500 ----------------------
 dev-db/sqlite/files/sqlite-3.34.0-build_2.1.patch | 291 -------------
 dev-db/sqlite/files/sqlite-3.34.0-build_2.2.patch | 441 -------------------
 dev-db/sqlite/sqlite-3.33.0.ebuild                | 374 ----------------
 dev-db/sqlite/sqlite-3.34.0.ebuild                | 434 -------------------
 11 files changed, 3974 deletions(-)