CVEvulnerability
CVE-2022-31622
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-667
Description
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create returns a nonzero value) while executing the method create_worker_threads, 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.
Affected configurations
• mariadb mariadb (< 10.2.42)
• mariadb mariadb (>= 10.3.0 < 10.3.33)
• mariadb mariadb (>= 10.4.0 < 10.4.23)
• mariadb mariadb (>= 10.5.0 < 10.5.14)
• mariadb mariadb (>= 10.6.0 < 10.6.6)
• mariadb mariadb (>= 10.7.0 < 10.7.2)
Related
Weakness · CWE (1)
- CWE-667 Improper Locking weakness
References
- https://github.com/MariaDB/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2 Patch, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26561?filter=-2 Issue Tracking, Permissions Required, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26574 jira.mariadb.org
- https://security.netapp.com/advisory/ntap-20220707-0006/ Third Party Advisory
- https://github.com/MariaDB/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2 Patch, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26561?filter=-2 Issue Tracking, Permissions Required, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26574 jira.mariadb.org
- https://security.netapp.com/advisory/ntap-20220707-0006/ Third Party Advisory