CVE-2020-7221
Last modified
CVE-2020-7221 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.67% chance of exploitation in the next 30 days.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mariadb | Mariadb | >= 10.4.7, <= 10.4.11 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1160868Exploit, Issue Tracking, Third Party Advisory
- https://seclists.org/oss-sec/2020/q1/55Exploit, Mailing List, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1160868Exploit, Issue Tracking, Third Party Advisory
- https://seclists.org/oss-sec/2020/q1/55Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7221?
How severe is CVE-2020-7221?
How do I fix CVE-2020-7221?
Are you affected by CVE-2020-7221?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
