5.5

CVE-2022-31621: mariadb Improper Locking

CVSS: 5.5v3.1MediumModified
AliasesALPINE-CVE-2022-31621DEBIAN-CVE-2022-31621
Published 25-05-2022Last modified 30-10-2024

Vulnerability summary

CVE-2022-31621 is a medium (CVSS 5.5) Improper Locking vulnerability in mariadb. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.1% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.22%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6

Timeline

  1. 25-05-2022
    PublishedVulnerability first disclosed.
  2. 30-10-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

+0.01 pp

From 0.22% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • mariadb≥ 10.3.0, < 10.6.7-r0
Debian1 product
  • mariadb-10.5< 1:10.5.15-0+deb11u1
Mariadb1 product
  • mariadb< 10.2.41 | ≥ 10.3.0, < 10.3.32 | ≥ 10.4.0, < 10.4.22 | ≥ 10.5.0, < 10.5.13 | ≥ 10.6.0, < 10.6.5

3 vendors · 3 products

References

8 links