CVE-2020-7221
HIGH7.8EPSS 0.27%Published: 3/6/2024Modified: 6/10/2025
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 packages (3)
- Bitnami/mariadb>= 10.4.7, < 10.4.12
- Bitnami/mariadb-min>= 10.4.7, <= 10.4.11
- Bitnami/mysql-client>= 10.4.7, < 10.4.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |