{"id":"ALPINE-CVE-2022-31621","details":"MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_xbstream.cc, when an error occurs (stream_ctxt-\u003edest_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.","modified":"2026-08-27T22:18:01.739940317Z","published":"2022-05-25T21:15:08.573Z","upstream":["CVE-2022-31621"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-31621"}],"affected":[{"package":{"name":"mariadb","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.0"},{"fixed":"10.6.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31621.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}