CVE-2020-7221Mariadb
High 7.8
Follow: this CVE · Mariadb · Mariadb We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Feb 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mariadb.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mariadb | mariadb | ≥ 10.4.7 ≤ 10.4.11 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Exploit Issue Tracking Third Party Advisory
- github.com Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory