Improper Locking Affecting mariadb package, versions <10.6.7-r0


Severity

Recommended
0.0
medium
0
10

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

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-ALPINE319-MARIADB-6107342
  • published8 Dec 2023
  • disclosed25 May 2022

Introduced: 25 May 2022

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

How to fix?

Upgrade Alpine:3.19 mariadb to version 10.6.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb package and not the mariadb package as distributed by Alpine. See How to fix? for Alpine:3.19 relevant fixed versions and status.

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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