CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Mariadb

CVE-2020-7221
Mariadb vulnerability

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

Mariadb. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mariadb runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Mariadb products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.