CVE-2021-2372

NameCVE-2021-2372
DescriptionVulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.34 and prior and 8.0.25 and prior. Difficult to exploit 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.4 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H).
SourceCVE (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 PackageReleaseVersionStatus
mariadb-10.5 (PTS)bullseye1:10.5.23-0+deb11u1fixed
bullseye (security)1:10.5.26-0+deb11u2fixed
mysql-8.0 (PTS)sid8.0.40-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.3sourcebuster1:10.3.31-0+deb10u1
mariadb-10.3source(unstable)(unfixed)
mariadb-10.5sourcebullseye1:10.5.12-0+deb11u1
mariadb-10.5source(unstable)1:10.5.12-1
mysql-5.7source(unstable)(unfixed)
mysql-8.0source(unstable)8.0.29-1

Notes

Fixed in MariaDB 10.5.12, 10.3.31
Introduced by https://github.com/MariaDB/server/commit/2e814d4702d71a04388386a9f591d14a35980bfe (mariadb-10.2.2)
hash_table_t* page_hash_old logic that lead the race condition was introduced by InnoDB 5.7 sync from mysql-5.7.9
Commit MariaDB: https://github.com/MariaDB/server/commit/c4295b9be90df2dd8f9056fec187f3e991f498c4 (mariadb-10.2.40)
Commit MySQL: https://github.com/mysql/mysql-server/commit/ea3adc6a1192e1bca4b4894fd7037e29fbcf0bd0

Search for package or bug name: Reporting problems