All vulnerabilities

Servers and applications

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.

Severity
High 7.8
Published
4 Feb 2020
Last changed
17 Jun 2026
Added to UpHeron
17 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
MariaDBServers and applications · cpe:a:mariadb:mariadb
  • From 10.4.7 up to 10.4.11

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-7221
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-7221