Name | CVE-2020-7221 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mariadb-10.3 (PTS) | buster | 1:10.3.34-0+deb10u1 | fixed |
| buster (security) | 1:10.3.39-0+deb10u2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mariadb-10.1 | source | (unstable) | (not affected) | | | |
mariadb-10.3 | source | (unstable) | (not affected) | | | |
Notes
- mariadb-10.3 <not-affected> (Only affects MariaDB 10.4.7 through 10.4.11)
- mariadb-10.1 <not-affected> (Only affects MariaDB 10.4.7 through 10.4.11)