Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856484 (CVE-2022-32081, CVE-2022-32082, CVE-2022-32084, CVE-2022-32088, CVE-2022-38791) - <dev-db/mariadb-{10.3.36, 10.4.26, 10.5.17, 10.6.10}: multiple vulnerabilities
Summary: <dev-db/mariadb-{10.3.36, 10.4.26, 10.5.17, 10.6.10}: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2022-32081, CVE-2022-32082, CVE-2022-32084, CVE-2022-32088, CVE-2022-38791
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [stable?]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-05 04:42 UTC by John Helmert III
Modified: 2022-10-28 12:38 UTC (History)
1 user (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 archtester Gentoo Infrastructure gentoo-dev Security 2022-07-05 04:42:00 UTC
CVE-2022-32081 (https://jira.mariadb.org/browse/MDEV-26420):

MariaDB v10.4 to v10.7 was discovered to contain an use-after-poison in prepare_inplace_add_virtual at /storage/innobase/handler/handler0alter.cc.

CVE-2022-32082 (https://jira.mariadb.org/browse/MDEV-26433):

MariaDB v10.5 to v10.7 was discovered to contain an assertion failure at table->get_ref_count() == 0 in dict0dict.cc.

CVE-2022-32084 (https://jira.mariadb.org/browse/MDEV-26427):

MariaDB v10.2 to v10.7 was discovered to contain a segmentation fault via the component sub_select.

CVE-2022-32088 (https://jira.mariadb.org/browse/MDEV-26419):

MariaDB v10.2 to v10.7 was discovered to contain a segmentation fault via the component Exec_time_tracker::get_loops/Filesort_tracker::report_use/filesort.

All "unresolved" according to Jira.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-27 22:54:05 UTC
CVE-2022-38791 (https://jira.mariadb.org/browse/MDEV-28719):

In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

Looks like this is fixed in 10.3.36, 10.4.26, 10.5.17, 10.6.9 according to the jira ticket
Comment 2 Larry the Git Cow gentoo-dev 2022-10-28 12:34:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89624d763af7d3357979d432e9ac5f1dc79ccea1

commit 89624d763af7d3357979d432e9ac5f1dc79ccea1
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2022-10-21 14:21:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-28 12:21:08 +0000

    dev-db/mariadb: add 10.3.36/10.4.26/10.5.17/10.6.10
    
    Bug: https://bugs.gentoo.org/856484
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/27877
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mariadb/Manifest               |    8 +
 dev-db/mariadb/mariadb-10.3.36.ebuild | 1287 ++++++++++++++++++++++++++++++++
 dev-db/mariadb/mariadb-10.4.26.ebuild | 1308 ++++++++++++++++++++++++++++++++
 dev-db/mariadb/mariadb-10.5.17.ebuild | 1315 ++++++++++++++++++++++++++++++++
 dev-db/mariadb/mariadb-10.6.10.ebuild | 1319 +++++++++++++++++++++++++++++++++
 5 files changed, 5237 insertions(+)