CVE-2020-7221: High severity MariaDB MariaDB vulnerability

Published Feb 4, 2020
·
Updated

mysqlinstalldb 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 authpamtooldir/authpamtool. NOTE: this does not affect the Oracle MySQL product, which implements mysqlinstalldb differently.

Affected Software

1 affected component
MariaDB MariaDB>=10.4.7<=10.4.11

Event History

Feb 4, 2020
CVE Published
via MITRE·04:57 PM
Data Sourced
via MITRE·04:57 PM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-7221?

CVE-2020-7221 is classified as a high severity vulnerability due to its potential for privilege escalation.

2

How can I mitigate CVE-2020-7221?

To mitigate CVE-2020-7221, upgrade to MariaDB version 10.4.12 or later, where the vulnerability has been addressed.

3

Who is affected by CVE-2020-7221?

CVE-2020-7221 affects users of MariaDB versions 10.4.7 through 10.4.11 on systems utilizing the mysql_install_db script.

4

What type of attack does CVE-2020-7221 facilitate?

CVE-2020-7221 facilitates a symlink attack that allows privilege escalation from the mysql user to root.

5

Is CVE-2020-7221 specific to MariaDB or does it affect Oracle MySQL?

CVE-2020-7221 specifically affects certain versions of MariaDB and does not impact Oracle MySQL.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203