CVE-2022-31621

NameCVE-2022-31621
DescriptionMariaDB 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mariadb-10.3 (PTS)buster1:10.3.34-0+deb10u1fixed
buster (security)1:10.3.25-0+deb10u1vulnerable
mariadb-10.5 (PTS)bullseye1:10.5.15-0+deb11u1fixed
mariadb-10.6 (PTS)bookworm, sid1:10.6.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.1source(unstable)(unfixed)
mariadb-10.3sourcebuster1:10.3.34-0+deb10u1
mariadb-10.3source(unstable)(unfixed)
mariadb-10.5sourcebullseye1:10.5.15-0+deb11u1
mariadb-10.5source(unstable)(unfixed)
mariadb-10.6source(unstable)1:10.6.5-1

Notes

https://jira.mariadb.org/browse/MDEV-26574
https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 (mariadb-10.2.41)

Search for package or bug name: Reporting problems