CVE-2020-7221: mariadb
Vulnerability summary
CVE-2020-7221 is a high (CVSS 7.8) vulnerability in mariadb. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 04-02-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.67% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (seclists.org)
Maturity: unknown
Exploit Reference (bugzilla.suse.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- mariadb-10.0All versions (No fix recorded)
- mysql-5.5All versions (No fix recorded)
Mariadb1 product
- mariadb≥ 10.4.7, ≤ 10.4.11
2 vendors · 3 products
References
5 links- bugzilla.suse.com/show_bug.cgi?id=1160868X Refsource MISCREPORTExploitIssue TrackingThird Party Advisory
- github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618X Refsource CONFIRMREPORTThird Party Advisory