MariaDB Server before 10.7 is vulnerable to Denial of Service.
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 8 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-667 and the CVSS impact.
Summary
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | before 10.2.42; 10.3.0 to before 10.3.33; 10.4.0 to before 10.4.23; 10.5.0 to before 10.5.14; 10.6.0 to before 10.6.6; 10.7.0 to before 10.7.2 | Vulnerable | MariaDB |
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* Versions before 10.2.42; 10.3.0 to before 10.3.33; 10.4.0 to before 10.4.23; 10.5.0 to before 10.5.14; 10.6.0 to before 10.6.6; 10.7.0 to before 10.7.2 Vulnerable ·MariaDB
Remediation
Red Hat 6 advisories
- RHSA-2023:6821 Released 2023-11-08 · Red Hat rating Importantmariadb:10.5 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.src::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.x86_64::mariadb:10.5, galera-26.4.14-1.module+el8.4.0+20291+fd32d29c.src::mariadb:10.5 +16
- Red Hat Enterprise Linux AppStream E4S (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.aarch64::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.ppc64le::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.s390x::mariadb:10.5 +47
- Red Hat Enterprise Linux AppStream TUS (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.src::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.x86_64::mariadb:10.5, galera-26.4.14-1.module+el8.4.0+20291+fd32d29c.src::mariadb:10.5 +16
- RHSA-2022:6443 Released 2022-09-13 · Red Hat rating Moderatemariadb:10.3 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) Judy-1.0.5-18.module+el8+2765+cfa4f87b.aarch64::mariadb:10.3, Judy-1.0.5-18.module+el8+2765+cfa4f87b.ppc64le::mariadb:10.3, Judy-1.0.5-18.module+el8+2765+cfa4f87b.s390x::mariadb:10.3 +47
- RHSA-2022:6306 Released 2022-09-01 · Red Hat rating Moderaterh-mariadb103-galera and rh-mariadb103-mariadb security and bug fix update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-mariadb103-mariadb-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-syspaths-3:10.3.35-1.el7 +16
- Red Hat Software Collections for RHEL(v. 7) rh-mariadb103-mariadb-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-syspaths-3:10.3.35-1.el7 +16
Show 3 more Red Hat advisories
- RHSA-2022:5948 Released 2022-08-09 · Red Hat rating Moderategalera, mariadb, and mysql-selinux security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) mariadb-devel-3:10.5.16-2.el9_0, mariadb-embedded-devel-3:10.5.16-2.el9_0, mariadb-test-3:10.5.16-2.el9_0
- Red Hat Enterprise Linux AppStream (v. 9) galera-26.4.11-1.el9_0, mariadb-3:10.5.16-2.el9_0, mariadb-backup-3:10.5.16-2.el9_0 +10
- RHSA-2022:5826 Released 2022-08-02 · Red Hat rating Moderatemariadb:10.5 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.aarch64::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.ppc64le::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.s390x::mariadb:10.5 +47
- RHSA-2022:5759 Released 2022-07-28 · Red Hat rating Moderaterh-mariadb105-galera and rh-mariadb105-mariadb security and bugfix update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-mariadb105-mariadb-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-syspaths-3:10.5.16-2.el7 +18
- Red Hat Software Collections for RHEL(v. 7) rh-mariadb105-mariadb-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-syspaths-3:10.5.16-2.el7 +18
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:5948 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:5826, RHSA-2022:6443 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:5948 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2023:6821 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2023:6821 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2023:6821 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2022:5759, RHSA-2022:6306 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2022:5759, RHSA-2022:6306 |
Not affected: 3 products
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Software Collections for RHEL Workstation(v. 7)
- Red Hat Software Collections for RHEL(v. 7)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31623
- 2026-10-03 Alias added: GHSA-fqhg-58rx-5ghm
References
More Mariadb vulnerabilities
- TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
- TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
- TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
- TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
Sources
- CVE-2022-31623 · CVE Program
- CVE-2022-31623 · NVD
- FIRST EPSS
- GHSA-fqhg-58rx-5ghm · GitHub Advisory Database · CC BY 4.0
- CVE-2022-31623 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences