{"id":"CVE-2020-7221","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.","aliases":["BIT-mariadb-2020-7221","BIT-mariadb-min-2020-7221","BIT-mysql-client-2020-7221"],"modified":"2026-05-17T11:54:46.513435630Z","published":"2020-02-04T17:15:13.233Z","related":["SUSE-RU-2023:3956-1","SUSE-RU-2023:4991-1","openSUSE-SU-2024:11038-1"],"database_specific":{},"references":[{"type":"ADVISORY","url":"https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1160868"},{"type":"EVIDENCE","url":"https://seclists.org/oss-sec/2020/q1/55"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}