Improper input validation in MySQL Server - CVE-2020-2897

 

Improper input validation in MySQL Server - CVE-2020-2897

Published: April 15, 2020


Vulnerability identifier: #VU26929
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-2897
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation within the Server: Optimizer component in MySQL Server. A remote privileged user can exploit this vulnerability to perform a denial of service (DoS) attack.


Affected software

MySQL Server
Gentoo Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
openEuler
Fedora
mysql-5.7 (Ubuntu package)
mysql-8.0 (Ubuntu package)
rh-mysql80-mysql (Red Hat package)
community-mysql
mysql

How to mitigate CVE-2020-2897

Install updates from vendor's website.

mysql-5.7 (Ubuntu package) - addressed in versions 5.7.30-0ubuntu0.16.04.1, 5.7.30-0ubuntu0.18.04.1
mysql-8.0 (Ubuntu package) - addressed in versions 8.0.20-0ubuntu0.19.10.1, 8.0.20-0ubuntu0.20.04.1
rh-mysql80-mysql (Red Hat package) - update to 8.0.21-1.el7
community-mysql - addressed in versions 8.0.20-1.fc30, 8.0.20-1.fc31, 8.0.20-1.fc32
mysql - update to 8.0.21-2
mysql - addressed in versions 8.0-3020200430120139.a5b0195c, 8.0-3120200430120139.f636be4b, 8.0-3220200430120139.43bbeeef

External References

Related Security Bulletins