MySQL 5.7.x < 5.7.36 Multiple Vulnerabilities (Oct 2021 CPU)

critical Nessus Plugin ID 154259
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of MySQL running on the remote host is 5.7.x prior to 5.7.36. It is, therefore, affected by multiple vulnerabilities, including the following, as noted in the October 2021 Critical Patch Update advisory:

- A vulnerability in the OpenSSL component that can result in a takeover of the MySQL server.
(CVE-2021-3711)

- An easily exploitable vulnerability in the InnoDB component that allows a high privileged attacker to affect the integrity and availability of the MySQL Server. (CVE-2021-35604)

- An easily exploitable vulnerability in the cURL component that allows an unauthenticated, remote attacker to affect the availability of the MySQL Server. (CVE-2021-22926)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MySQL version 5.7.36 or later.

See Also

https://www.oracle.com/security-alerts/cpuoct2021.html#AppendixMSQL

https://www.oracle.com/a/tech/docs/cpuoct2021cvrf.xml

Plugin Details

Severity: Critical

ID: 154259

File Name: mysql_5_7_36.nasl

Version: 1.3

Type: combined

Agent: windows, macosx, unix

Family: Databases

Published: 10/20/2021

Updated: 10/22/2021

Dependencies: mysql_version.nasl, mysql_login.nasl, mysql_version_local.nasl, mysql_win_installed.nbin, macosx_mysql_installed.nbin

Risk Information

CVSS Score Source: CVE-2021-3711

VPR

Risk Factor: Critical

Score: 9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:oracle:mysql

Required KB Items: installed_sw/MySQL Server

Exploit Ease: No known exploits are available

Patch Publication Date: 10/19/2021

Vulnerability Publication Date: 8/5/2021

Reference Information

CVE: CVE-2021-3711, CVE-2021-22926, CVE-2021-35604, CVE-2021-35624

IAVA: 2021-A-0487