BIT-mariadb-min-2020-7221
Record from OSV · Published June 10, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mariadb-min | Bitnami | 10.4.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Bitnami | mariadb-min | 10.4.7 |
Timeline
- Jun 10, 2025 CVE Published
- Jun 10, 2025 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln BIT-mariadb-min-2020-7221
vulnetix vdb fixes BIT-mariadb-min-2020-7221
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/BIT-mariadb-min-2020-7221/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart