CVE-2022-31621
MEDIUM5.5EPSS 0.03%Published: 5/25/2022Modified: 4/28/2026
Description
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.
Affected packages (5)
- Alpine/mariadbfrom 0, < 10.6.7-r0
- Bitnami/mariadbfrom 0, < 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
- Bitnami/mariadb-minfrom 0, < 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
- Bitnami/mysql-clientfrom 0, < 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
- Debian/mariadb-10.5from 0, < 1:10.5.15-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-31621
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-31621
- WEBhttps://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8
- WEBhttps://jira.mariadb.org/browse/MDEV-26561
- WEBhttps://jira.mariadb.org/browse/MDEV-26574
- WEBhttps://jira.mariadb.org/browse/MDEV-26574?filter=-2
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-31621
- WEBhttps://security.netapp.com/advisory/ntap-20220707-0006/