CVEvulnerability

CVE-2020-7221

7.8 HIGH Published 2020-02-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-02-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-59

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 configurations

• mariadb mariadb (>= 10.4.7 <= 10.4.11)

Related

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References