VDB

BIT-mariadb-min-2020-7221

BIT-mariadb-min-2020-7221 PUBLISHED CVSS 7.800000190734863 HIGH

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.

PackageEcosystemFixed in
mariadb-minBitnami10.4.11

Risk scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Bitnamimariadb-min10.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›