CVE-2020-7221
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.
- Affected products
- Alt Linux, Mariadb, Mariadb Server
- Mariadb
- ≤ 10.4.11
- CVSS 3.1
- 7.8 HIGH
- EPSS
- 0.7% (48th percentile)
- Weakness
- CWE-59
- NVD status
- Modified
- Published
- 2020-02-04
CVE-2020-7221 at NVD
No indexed exploits for CVE-2020-7221 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2020-7221 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.