CVEfocus › CVE database › CVE-2022-31621

CVE-2022-31621

CVSS 5.3 MediumEPSS 0.3% (higher than 12% of CVEs)Published 2022-05-25Updated 2024-10-30Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

44Fixed
1Fix pending
8Will not fix
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04mariadb-10.6Not affected
vulnerable_code_not_present
Ubuntu 20.04mariadb-10.3Not affected
vulnerable_code_not_present
Ubuntu 18.04mariadb-10.1Fix pending
Red Hat Enterprise Linux 9mariadbNot affected
Red Hat Enterprise Linux 9mariadb-backupNot affected
Red Hat Enterprise Linux 9mariadb-commonNot affected
Red Hat Enterprise Linux 9mariadb-develNot affected
Red Hat Enterprise Linux 9mariadb-embeddedNot affected
Red Hat Enterprise Linux 9mariadb-embedded-develNot affected
Red Hat Enterprise Linux 9mariadb-errmsgNot affected
Red Hat Enterprise Linux 9mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 9mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 9mariadb-pamNot affected
Red Hat Enterprise Linux 9mariadb-serverNot affected
Red Hat Enterprise Linux 9mariadb-server-galeraNot affected
Red Hat Enterprise Linux 9mariadb-server-utilsNot affected
Red Hat Enterprise Linux 9mariadb-testNot affected
Red Hat Enterprise Linux 8JudyFixed0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:1557
Red Hat Enterprise Linux 8galeraFixed0:26.4.9-4.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadbFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-backupFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-commonFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-develFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-embeddedFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-embedded-develFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-errmsgFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-gssapi-serverFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-pamFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-serverFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-server-galeraFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-server-utilsFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-testFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 7mariadbWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-benchWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embedded-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-testWill not fix
Out of support scope
AlmaLinux 8JudyFixed1.0.5-18.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8galeraFixed25.3.34-4.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadbFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-backupFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1556
AlmaLinux 8mariadb-commonFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-develFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux 8mariadb-embeddedFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1557
AlmaLinux 8mariadb-embedded-develFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadb-errmsgFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadb-gssapi-serverFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux 8mariadb-oqgraph-engineFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-pamFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux 8mariadb-serverFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1557
AlmaLinux 8mariadb-server-galeraFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-server-utilsFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1556
AlmaLinux 8mariadb-testFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
Rocky Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:1556
Rocky Linux 8galeraFixed0:25.3.34-4.module+el8.5.0+777+18007c86RLSA-2022:1557
Rocky Linux 8mariadbFixed3:10.3.32-2.module+el8.5.0+777+18007c86RLSA-2022:1557
Alpine Linux 3.24mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.23mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.22mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.21mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.20mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.19mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.18mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.17mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621
Alpine Linux 3.16mariadbFixed10.6.7-r0ALPINE-CVE-2022-31621

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.