Live threats

All CVEs / Mariadb

CVE-2020-7221Mariadb

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.7%
probability of exploitation in 30 days · percentile 53
Auth required
Yes
Published
Feb 4, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

mysql_install_db in MariaDB 10.4.7 through 10.4.11 allows privilege escalation from the mysql user account to root because chown and chmod are performed unsafely, as demonstrated by a symlink attack on a chmod 04755 of auth_pam_tool_dir/auth_pam_tool. NOTE: this does not affect the Oracle MySQL product, which implements mysql_install_db differently.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mariadb.

Affected products (CPE)

VendorProductVersions
mariadbmariadb≥ 10.4.7 ≤ 10.4.11

Official sources

References

Links published by the sources. Open them with care.