Improper Locking Affecting mariadb-10.5 package, versions <1:10.5.15-0+deb11u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-DEBIAN11-MARIADB105-2848393
  • published27 May 2022
  • disclosed25 May 2022

Introduced: 25 May 2022

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

How to fix?

Upgrade Debian:11 mariadb-10.5 to version 1:10.5.15-0+deb11u1 or higher.

NVD Description

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