UBUNTU-CVE-2020-7221

Source
https://ubuntu.com/security/CVE-2020-7221
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7221.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-7221
Related
Published
2020-02-04T17:15:00Z
Modified
2024-10-15T14:07:54Z
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

Ubuntu:Pro:14.04:LTS / mysql-5.5

Package

Name
mysql-5.5
Purl
pkg:deb/ubuntu/mysql-5.5?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.5.32-0ubuntu7
5.5.34-0ubuntu1
5.5.34-0ubuntu2
5.5.35-0ubuntu1
5.5.35+dfsg-1ubuntu1
5.5.37-0ubuntu0.14.04.1
5.5.38-0ubuntu0.14.04.1
5.5.40-0ubuntu0.14.04.1
5.5.41-0ubuntu0.14.04.1
5.5.43-0ubuntu0.14.04.1
5.5.44-0ubuntu0.14.04.1
5.5.46-0ubuntu0.14.04.2
5.5.47-0ubuntu0.14.04.1
5.5.49-0ubuntu0.14.04.1
5.5.50-0ubuntu0.14.04.1
5.5.52-0ubuntu0.14.04.1
5.5.53-0ubuntu0.14.04.1
5.5.54-0ubuntu0.14.04.1
5.5.55-0ubuntu0.14.04.1
5.5.57-0ubuntu0.14.04.1
5.5.58-0ubuntu0.14.04.1
5.5.59-0ubuntu0.14.04.1
5.5.60-0ubuntu0.14.04.1
5.5.61-0ubuntu0.14.04.1
5.5.62-0ubuntu0.14.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / mariadb-10.0

Package

Name
mariadb-10.0
Purl
pkg:deb/ubuntu/mariadb-10.0?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.0.20-0ubuntu0.15.04.1
10.0.22-0ubuntu1
10.0.23-1
10.0.23-2
10.0.24-7
10.0.25-0ubuntu0.16.04.1
10.0.27-0ubuntu0.16.04.1
10.0.28-0ubuntu0.16.04.1
10.0.29-0ubuntu0.16.04.1
10.0.31-0ubuntu0.16.04.2
10.0.33-0ubuntu0.16.04.1
10.0.34-0ubuntu0.16.04.1
10.0.36-0ubuntu0.16.04.1
10.0.38-0ubuntu0.16.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}