Improper Locking Affecting mariadb:10.5/mariadb-server-utils package, versions <3:10.5.13-1.module+el8.5.0+14125+d11efe18


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-RHEL8-MARIADB-4224639
  • published7 Jun 2022
  • disclosed8 Sept 2021

Introduced: 8 Sep 2021

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

How to fix?

Upgrade RHEL:8 mariadb:10.5/mariadb-server-utils to version 3:10.5.13-1.module+el8.5.0+14125+d11efe18 or higher.
This issue was patched in RHSA-2022:1557.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb:10.5/mariadb-server-utils package and not the mariadb:10.5/mariadb-server-utils package as distributed by RHEL. See How to fix? for RHEL: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 Scores

version 3.1