CVE-2020-7221

HIGH
7.8
CVSS Score
Published: February 4, 2020 at 04:57 PM UTC
Updated: June 17, 2026 at 03:24 AM UTC
1 product affected across 1 vendorMariaDB

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.4.7 ≤ v ≤ 10.4.11

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (3)

x_refsource_MISCExploitIssue TrackingThird Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1160868
x_refsource_MISCExploitMailing ListThird Party Advisory
https://seclists.org/oss-sec/2020/q1/55

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card