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.
Published: 2020-02-04
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2020-28350 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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T09:25:48.582Z

Reserved: 2020-01-17T00:00:00.000Z

Link: CVE-2020-7221

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-02-04T17:15:13.233

Modified: 2024-11-21T05:36:51.673

Link: CVE-2020-7221

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-02-04T00:00:00Z

Links: CVE-2020-7221 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses