Improper Locking Affecting mariadb:10.3/mariadb-server-galera package, versions <3:10.3.32-2.module_el8.6.0+2867+72759d2f


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-MARIADB-22131110
  • published2 Nov 2026
  • disclosed26 Apr 2022

Introduced: 26 Apr 2022

CVE-2022-31621  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 mariadb:10.3/mariadb-server-galera to version 3:10.3.32-2.module_el8.6.0+2867+72759d2f or higher.
This issue was patched in ALSA-2022:1556.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb:10.3/mariadb-server-galera package and not the mariadb:10.3/mariadb-server-galera package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1