UBUNTU-CVE-2022-21304

Source
https://ubuntu.com/security/CVE-2022-21304
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21304.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-21304
Related
Published
2022-01-19T12:15:00Z
Modified
2024-10-15T14:09:43Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser). Supported versions that are affected are 5.7.36 and prior and 8.0.27 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

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 / mysql-5.7

Package

Name
mysql-5.7
Purl
pkg:deb/ubuntu/mysql-5.7?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.37-0ubuntu0.16.04.1+esm1

Affected versions

5.*

5.7.11-0ubuntu4
5.7.11-0ubuntu5
5.7.11-0ubuntu6
5.7.12-0ubuntu1
5.7.12-0ubuntu1.1
5.7.13-0ubuntu0.16.04.2
5.7.15-0ubuntu0.16.04.1
5.7.16-0ubuntu0.16.04.1
5.7.17-0ubuntu0.16.04.1
5.7.17-0ubuntu0.16.04.2
5.7.18-0ubuntu0.16.04.1
5.7.19-0ubuntu0.16.04.1
5.7.20-0ubuntu0.16.04.1
5.7.21-0ubuntu0.16.04.1
5.7.22-0ubuntu0.16.04.1
5.7.23-0ubuntu0.16.04.1
5.7.24-0ubuntu0.16.04.1
5.7.25-0ubuntu0.16.04.2
5.7.26-0ubuntu0.16.04.1
5.7.27-0ubuntu0.16.04.1
5.7.28-0ubuntu0.16.04.2
5.7.29-0ubuntu0.16.04.1
5.7.30-0ubuntu0.16.04.1
5.7.31-0ubuntu0.16.04.1
5.7.32-0ubuntu0.16.04.1
5.7.33-0ubuntu0.16.04.1
5.7.35-0ubuntu0.16.04.1+esm1
5.7.36-0ubuntu0.16.04.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "libmysqlclient-dev"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "libmysqlclient20"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "libmysqlclient20-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "libmysqld-dev"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-client"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-client-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-client-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-client-core-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-client-core-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-common"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-server"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-server-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-server-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-server-core-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-server-core-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-source-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-testsuite"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-testsuite-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.16.04.1+esm1",
            "binary_name": "mysql-testsuite-5.7-dbgsym"
        }
    ]
}

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"
}

Ubuntu:Pro:16.04:LTS / percona-server-5.6

Package

Name
percona-server-5.6
Purl
pkg:deb/ubuntu/percona-server-5.6?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

5.*

5.6.22-rel71.0-0ubuntu2
5.6.22-rel71.0-0ubuntu4
5.6.22-rel71.0-0ubuntu4.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / percona-xtradb-cluster-5.6

Package

Name
percona-xtradb-cluster-5.6
Purl
pkg:deb/ubuntu/percona-xtradb-cluster-5.6?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

5.*

5.6.21-25.8-0ubuntu2
5.6.21-25.8-0ubuntu3
5.6.21-25.8-0ubuntu3.1
5.6.21-25.8-0ubuntu3.2
5.6.34-26.19-0ubuntu0.16.04.1
5.6.34-26.19-0ubuntu0.16.04.2
5.6.37-26.21-0ubuntu0.16.04.1
5.6.37-26.21-0ubuntu0.16.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / mysql-5.7

Package

Name
mysql-5.7
Purl
pkg:deb/ubuntu/mysql-5.7?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.37-0ubuntu0.18.04.1

Affected versions

5.*

5.7.19-0ubuntu1
5.7.20-0ubuntu0.17.10.1
5.7.20-1ubuntu1
5.7.21-1ubuntu1
5.7.22-0ubuntu18.04.1
5.7.23-0ubuntu0.18.04.1
5.7.24-0ubuntu0.18.04.1
5.7.25-0ubuntu0.18.04.2
5.7.26-0ubuntu0.18.04.1
5.7.27-0ubuntu0.18.04.1
5.7.28-0ubuntu0.18.04.4
5.7.29-0ubuntu0.18.04.1
5.7.30-0ubuntu0.18.04.1
5.7.31-0ubuntu0.18.04.1
5.7.32-0ubuntu0.18.04.1
5.7.33-0ubuntu0.18.04.1
5.7.34-0ubuntu0.18.04.1
5.7.35-0ubuntu0.18.04.1
5.7.35-0ubuntu0.18.04.2
5.7.36-0ubuntu0.18.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "libmysqlclient-dev"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "libmysqlclient20"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "libmysqlclient20-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "libmysqld-dev"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-client"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-core-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-core-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-server"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-core-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-core-5.7-dbgsym"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-source-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-testsuite"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-testsuite-5.7"
        },
        {
            "binary_version": "5.7.37-0ubuntu0.18.04.1",
            "binary_name": "mysql-testsuite-5.7-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / mariadb-10.1

Package

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

Affected ranges

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

Affected versions

10.*

10.1.25-1

1:10.*

1:10.1.29-6
1:10.1.34-0ubuntu0.18.04.1
1:10.1.38-0ubuntu0.18.04.1
1:10.1.38-0ubuntu0.18.04.2
1:10.1.40-0ubuntu0.18.04.1
1:10.1.41-0ubuntu0.18.04.1
1:10.1.43-0ubuntu0.18.04.1
1:10.1.44-0ubuntu0.18.04.1
1:10.1.47-0ubuntu0.18.04.1
1:10.1.48-0ubuntu0.18.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mariadb-10.3

Package

Name
mariadb-10.3
Purl
pkg:deb/ubuntu/mariadb-10.3?arch=src?distro=focal

Affected ranges

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

Affected versions

1:10.*

1:10.3.17-1
1:10.3.18-1
1:10.3.19-1
1:10.3.21-2
1:10.3.22-1
1:10.3.22-1ubuntu1
1:10.3.25-0ubuntu0.20.04.1
1:10.3.29-0ubuntu0.20.04.1
1:10.3.30-0ubuntu0.20.04.1
1:10.3.31-0ubuntu0.20.04.1
1:10.3.32-0ubuntu0.20.04.1
1:10.3.34-0ubuntu0.20.04.1
1:10.3.37-0ubuntu0.20.04.1
1:10.3.38-0ubuntu0.20.04.1
1:10.3.39-0ubuntu0.20.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mysql-8.0

Package

Name
mysql-8.0
Purl
pkg:deb/ubuntu/mysql-8.0?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.28-0ubuntu0.20.04.3

Affected versions

8.*

8.0.17-0ubuntu2
8.0.17-0ubuntu3
8.0.18-0ubuntu3
8.0.18-0ubuntu4
8.0.18-0ubuntu5
8.0.19-0ubuntu2
8.0.19-0ubuntu3
8.0.19-0ubuntu4
8.0.19-0ubuntu5
8.0.20-0ubuntu0.20.04.1
8.0.21-0ubuntu0.20.04.3
8.0.21-0ubuntu0.20.04.4
8.0.22-0ubuntu0.20.04.2
8.0.22-0ubuntu0.20.04.3
8.0.23-0ubuntu0.20.04.1
8.0.25-0ubuntu0.20.04.1
8.0.26-0ubuntu0.20.04.2
8.0.26-0ubuntu0.20.04.3
8.0.27-0ubuntu0.20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "libmysqlclient-dev"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "libmysqlclient21"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "libmysqlclient21-dbgsym"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-client"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-client-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-client-core-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-client-core-8.0-dbgsym"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-router"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-router-dbgsym"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-server"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-server-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-server-core-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-server-core-8.0-dbgsym"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-source-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-testsuite"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-testsuite-8.0"
        },
        {
            "binary_version": "8.0.28-0ubuntu0.20.04.3",
            "binary_name": "mysql-testsuite-8.0-dbgsym"
        }
    ]
}