CVE-2022-31622: MariaDB Server before 10.7 is vulnerable to Denial of Service.

Medium CVSS 5.5

CVE id
CVE-2022-31622
Published
Last modified

Affected packages

PackageAffected versionsFixed in
MariaDB
Runtimes and servers
< 10.2.42
>= 10.3.0, < 10.3.33
>= 10.4.0, < 10.4.23
>= 10.5.0, < 10.5.14
>= 10.6.0, < 10.6.6
>= 10.7.0, < 10.7.2
10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2

How to fix it

Upgrade MariaDB to the fixed release of the line you run: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2.

mariadbd --version
  • Install the patched MariaDB release of your series (the mariadb image tag or your packages) and restart the server.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/dscompress.cc, when an error occurs (pthreadcreate returns a nonzero value) while executing the method createworkerthreads, 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.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.