CVE-2020-7221

Source
https://cve.org/CVERecord?id=CVE-2020-7221
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7221.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7221
Aliases
Downstream
Related
Published
2020-02-04T17:15:13.233Z
Modified
2026-04-10T04:28:03.259133Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

mysqlinstalldb 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 authpamtooldir/authpamtool. NOTE: this does not affect the Oracle MySQL product, which implements mysqlinstall_db differently.

References

Affected packages

Git / github.com/mariadb/server

Affected ranges

Type
GIT
Repo
https://github.com/mariadb/server
Events
Database specific
{
    "versions": [
        {
            "introduced": "10.4.7"
        },
        {
            "last_affected": "10.4.11"
        }
    ]
}

Affected versions

mariadb-10.*
mariadb-10.4.10
mariadb-10.4.11
mariadb-10.4.7
mariadb-10.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7221.json"