CVE-2020-7221
Dashboard / Vulnerabilities / CVE-2020-7221
CVE-2020-7221
Published: 4 Feb 2020Last Modified: 24 Oct 2026
Summary:
Details: 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.
References: https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618, https://bugzilla.suse.com/show_bug.cgi?id=1160868, https://seclists.org/oss-sec/2020/q1/55
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
Introduced- 9a78a283f4ee7e8ccc4afb1d8a24c662fa4c634b
Fixed -None
Affected versions
mariadb-10.4.11
mariadb-10.4.10
mariadb-10.4.9
mariadb-10.4.7
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
