CVE-2022-31624 json
MariaDB Server before 10.7 is vulnerable to Denial of Service.
published 2022-05-25 4 y ago modified 2026-09-08 2 mo ago also BIT-mariadb-2022-31624 , BIT-mariadb-min-2022-31624 , BIT-mysql-client-2022-31624 , EUVD-2022-53076
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
Patch / fix
- bitnami mariadb 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5
- bitnami mariadb-min 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5
- bitnami mysql-client 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5
- mariadb mariadb 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5
- mariadb-10.5 Debian 11 1:10.5.15-0+deb11u1
debian advisories DEBIAN-CVE-2022-31624
- mariadb-10.3 Ubuntu 20.04 LTS 1:10.3.32-0ubuntu0.20.04.1
ubuntu advisories UBUNTU-CVE-2022-31624
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- Judy RHEL 8, RHEL 8.4 EUS 1.0.5-18.module+el8+2765+cfa4f87b
- galera RHEL 8 25.3.34-4.module+el8.5.0+14124+14ced695
- mariadb RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
- mariadb-test RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
- mariadb-backup RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
- mariadb-common RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
- mariadb-errmsg RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
- mariadb-server RHEL 8 3:10.3.32-2.module+el8.5.0+14124+14ced695
red hat advisories RHSA-2022:4818RHSA-2022:1556RHSA-2022:1557RHSA-2022:1007RHSA-2022:1010RHSA-2023:6821
- Judy AlmaLinux 8 1.0.5-18.module_el8.6.0+2867+72759d2f
- Judy AlmaLinux 8 1.0.5-18.module_el8.5.0+2637+d11efe18
- Judy AlmaLinux 8 1.0.5-18.module_el8.6.0+2761+593e5e59
- galera AlmaLinux 8 26.4.9-4.module_el8.6.0+2761+593e5e59
- galera AlmaLinux 8 26.4.9-4.module_el8.5.0+2637+d11efe18
- mariadb AlmaLinux 8 3:10.5.13-1.module_el8.5.0+2637+d11efe18
- mariadb AlmaLinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59
- mariadb-pam AlmaLinux 8 3:10.5.13-1.module_el8.6.0+2761+593e5e59
almalinux advisories ALSA-2022:1557ALSA-2022:1556
- Judy Rocky Linux 8 1.0.5-18.module+el8.4.0+427+adf35707
- galera Rocky Linux 8 26.4.9-4.module+el8.5.0+773+f75e97f7
- mariadb Rocky Linux 8 3:10.5.13-1.module+el8.5.0+773+f75e97f7
- galera Rocky Linux 8 25.3.34-4.module+el8.5.0+777+18007c86
- mariadb Rocky Linux 8 3:10.3.32-2.module+el8.5.0+777+18007c86
rocky linux advisories RLSA-2022:1557RLSA-2022:1556
- mariadb Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 10.6.7-r0
alpine advisories ALPINE-CVE-2022-31624
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-31624 updated cvss 5.5
mariadb: DoS due to improper locking due to unreleased lock in plugin/server_audit/server_audit.c
-
Red Hat Enterprise Linux 7 mariadb, mariadb-libs, mariadb-test, mariadb-bench, mariadb-server, mariadb-embedded Red Hat OpenStack Platform 13 (Queens) mariadb, mariadb-libs, mariadb-test, mariadb-common, mariadb-config, mariadb-errmsg, +3 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) Judy 1.0.5-18.module+el8+2765+cfa4f87b, Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9, galera 26.4.9-4.module+el8.5.0+14125+d11efe18, galera 25.3.34-4.module+el8.5.0+14124+14ced695, mariadb 10.3.32-2.module+el8.5.0+14124+14ced695, mariadb 10.5.13-1.module+el8.5.0+14125+d11efe18, +21 morefixed: vendor fix RHSA-2022:1556
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9, galera 26.4.14-1.module+el8.4.0+20291+fd32d29c, mariadb 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-pam 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-test 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-backup 10.5.22-1.module+el8.4.0+20291+fd32d29c, +8 more Red Hat Enterprise Linux AppStream E4S (v.8.4) Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9, galera 26.4.14-1.module+el8.4.0+20291+fd32d29c, mariadb 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-pam 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-test 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-backup 10.5.22-1.module+el8.4.0+20291+fd32d29c, +8 morefixed: vendor fix RHSA-2023:6821
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.34-4.module+el8.4.0+15058+0c3d11c7, mariadb 10.3.32-2.module+el8.4.0+15058+0c3d11c7, mariadb-test 10.3.32-2.module+el8.4.0+15058+0c3d11c7, mariadb-backup 10.3.32-2.module+el8.4.0+15058+0c3d11c7, mariadb-common 10.3.32-2.module+el8.4.0+15058+0c3d11c7, +7 morefixed: vendor fix RHSA-2022:4818
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9, galera 26.4.14-1.module+el8.4.0+20291+fd32d29c, mariadb 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-pam 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-test 10.5.22-1.module+el8.4.0+20291+fd32d29c, mariadb-backup 10.5.22-1.module+el8.4.0+20291+fd32d29c, +8 morefixed: vendor fix RHSA-2023:6821
-
Red Hat Software Collections for RHEL Workstation(v. 7) rh-mariadb105-galera 26.4.9-3.el7, rh-mariadb103-galera 25.3.34-4.el7, rh-mariadb103-mariadb 10.3.32-2.el7, rh-mariadb105-mariadb 10.5.13-1.el7, rh-mariadb105-mariadb-pam 10.5.13-1.el7, rh-mariadb103-mariadb-test 10.3.32-2.el7, +34 more Red Hat Software Collections for RHEL(v. 7) rh-mariadb105-galera 26.4.9-3.el7, rh-mariadb103-galera 25.3.34-4.el7, rh-mariadb103-mariadb 10.3.32-2.el7, rh-mariadb105-mariadb 10.5.13-1.el7, rh-mariadb105-mariadb-pam 10.5.13-1.el7, rh-mariadb103-mariadb-test 10.3.32-2.el7, +34 morefixed: vendor fix RHSA-2022:1010
-
Red Hat Enterprise Linux 9 mariadb, mariadb-pam, mariadb-test, mariadb-backup, mariadb-common, mariadb-errmsg, +6 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mariadb | <10.2.41 >=10.3.0, <10.3.32 >=10.4.0, <10.4.22 >=10.5.0, <10.5.13 >=10.6.0, <10.6.5 |
10.2.41 10.3.32 10.4.22 10.5.13 10.6.5 |
| bitnami | mariadb-min | <10.2.41 >=10.3.0, <10.3.32 >=10.4.0, <10.4.22 >=10.5.0, <10.5.13 >=10.6.0, <10.6.5 |
10.2.41 10.3.32 10.4.22 10.5.13 10.6.5 |
| bitnami | mysql-client | <10.2.41 >=10.3.0, <10.3.32 >=10.4.0, <10.4.22 >=10.5.0, <10.5.13 >=10.6.0, <10.6.5 |
10.2.41 10.3.32 10.4.22 10.5.13 10.6.5 |
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
github.com
/MariaDB/server/commit/d627d00b13ab2f2c0954ea7b77202470cb102944
patch, third-party-advisory, advisory
-
jira.mariadb.org
/browse/MDEV-26556?filter=-2
issue-tracking, permissions-required, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220707-0006/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31624
web
Sources
- CVE List CVE-2022-31624
- NVD CVE-2022-31624
- OSV BIT-mariadb-2022-31624
- OSV BIT-mariadb-min-2022-31624
- OSV BIT-mysql-client-2022-31624
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.