Vulnerability · Published Feb 4, 2020 · Assigned by mitre
CVE-2020-7221
High 7.8
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.7%top 47.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
References
- https://seclists.org/oss-sec/2020/q1/55 x_refsource_MISC
- https://bugzilla.suse.com/show_bug.cgi?id=1160868 x_refsource_MISC
- https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618 x_refsource_CONFIRM