Improper Locking Affecting mariadb-embedded package, versions <3:10.5.22-1.module+el8.8.0+21173+e955d7af


Severity

Recommended
high

Based on Oracle 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-ORACLE8-MARIADBEMBEDDED-5914401
  • published22 Sept 2023
  • disclosed27 Aug 2022

Introduced: 27 Aug 2022

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

How to fix?

Upgrade Oracle:8 mariadb-embedded to version 3:10.5.22-1.module+el8.8.0+21173+e955d7af or higher.
This issue was patched in ELSA-2023-5683.

NVD Description

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

In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

CVSS Scores

version 3.1