Improper Locking Affecting mariadb105-sphinx-engine-debuginfo package, versions <3:10.5.18-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-AMZN2023-MARIADB105SPHINXENGINEDEBUGINFO-5495978
  • published4 May 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 Amazon-Linux:2023 mariadb105-sphinx-engine-debuginfo to version 3:10.5.18-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-155.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb105-sphinx-engine-debuginfo package and not the mariadb105-sphinx-engine-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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