CVE-2020-7221
Severity CVSS v4.0:
Pending analysis
Type:
CWE-59
Link Following
Publication date:
04/02/2020
Last modified:
21/07/2021
Description
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.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Base Score 2.0
7.20
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 10.4.7 (including) | 10.4.11 (including) |
To consult the complete list of CPE names with products and versions, see this page



