Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2020-7221 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=1160868 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618 | CVE | Third Party Advisory |
| https://seclists.org/oss-sec/2020/q1/55 | CVE | ExploitMailing ListThird Party Advisory |
| https://bugzilla.suse.com/show_bug.cgi?id=1160868 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618 | [email protected] | Third Party Advisory |
| https://seclists.org/oss-sec/2020/q1/55 | [email protected] | ExploitMailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mariadb mariadb | >= 10.4.7, <= 10.4.11 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Feb 12, 2020 | Initial Analysis | [email protected] |