VULNERABILITY INTELLIGENCE
CVE-2020-7221
CVSS score7.8 HIGH
EPSS probability0.67%
CISA KEVNot currently listed
Published2020-02-04
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-59
Primary references
- cve@mitre.org — Exploit, Issue Tracking, Third Party Advisory
- cve@mitre.org — Third Party Advisory
- cve@mitre.org — Exploit, Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mailing List, Third Party Advisory