CVE-2020-7221
7.8
HIGH
CVSS 3.1
EPSS 0.27%
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.
How to fix CVE-2020-7221
To remediate CVE-2020-7221, upgrade the affected package to a fixed version below.
- —upgrade to 10.4.12 or later
- —no fix listed
- —upgrade to 10.4.12 or later
Is CVE-2020-7221 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 10.4.7, < 10.4.12
- >= 10.4.7, <= 10.4.11
- >= 10.4.7, < 10.4.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |