CVE-2022-31621

mariadb-10.5: MariaDB Server before 10.7 is vulnerable to Denial of Service

CVE-2022-31621 is fixed in 17 products on 1 platform, first by RHSA-2022:1557, released April 26, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0022
13th percentile

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_xbstream.cc, when an error occurs (stream_ctxt->dest_file == NULL) while executing the method xbstream_open, the held lock is not released correctly, which allows local users to trigger a denial of service due to the deadlock. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.

Where it's fixed

ProductFixed inFixReleased
Linux
Judy · RHEL 8 0:1.0.5-18.module+el8.4.0+9031+9abc7af9 RHSA-2022:1557 Apr 26, 2022
Judy · almalinux 8 1.0.5-18.module_el8.6.0+2867+72759d2f ALSA-2022:1557 Apr 26, 2022
Judy · rocky 8 0:1.0.5-18.module+el8.4.0+427+adf35707 RLSA-2022:1557 Apr 26, 2022
galera · RHEL 8 0:26.4.9-4.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
galera · almalinux 8 26.4.9-4.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
galera · rocky 8 0:26.4.9-4.module+el8.5.0+773+f75e97f7 RLSA-2022:1557 Apr 26, 2022
mariadb · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb · almalinux 8 3:10.5.13-1.module_el8.5.0+2637+d11efe18 ALSA-2022:1557 Apr 26, 2022
mariadb · rocky 8 3:10.5.13-1.module+el8.5.0+773+f75e97f7 RLSA-2022:1557 Apr 26, 2022
mariadb-10.5 · Debian 11.6 (bullseye) 1:10.5.15-0+deb11u1 DEBIAN-CVE-2022-31621 May 25, 2022
mariadb-backup · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-backup · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-common · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-common · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-devel · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-devel · almalinux 8 3:10.5.13-1.module_el8.5.0+2637+d11efe18 ALSA-2022:1557 Apr 26, 2022
mariadb-embedded · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-embedded · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-embedded-devel · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-embedded-devel · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-errmsg · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-errmsg · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-gssapi-server · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-gssapi-server · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-oqgraph-engine · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-oqgraph-engine · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-pam · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-pam · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-server · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-server · almalinux 8 3:10.5.13-1.module_el8.5.0+2637+d11efe18 ALSA-2022:1557 Apr 26, 2022
mariadb-server-galera · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-server-galera · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-server-utils · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-server-utils · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022
mariadb-test · RHEL 8 3:10.5.13-1.module+el8.5.0+14125+d11efe18 RHSA-2022:1557 Apr 26, 2022
mariadb-test · almalinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59 ALSA-2022:1557 Apr 26, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.