MySQL 5.6.x < 5.6.20 client.c mysql_prune_stmt_list() Function DoS (April 2017 CPU)

high Nessus Plugin ID 99511

Synopsis

The remote database server is affected by a denial of service vulnerability.

Description

The version of MySQL running on the remote host is 5.6.x prior to 5.6.20. It is, therefore, affected by a use-after-free error in the mysql_prune_stmt_list() function in client.c, that allows an authenticated, remote attacker to cause a denial of service condition.

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

Solution

Upgrade to MySQL version 5.6.20 or later.

See Also

http://www.nessus.org/u?d679be85

http://www.nessus.org/u?f5369edb

http://www.nessus.org/u?eb4db3c7

https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html

Plugin Details

Severity: High

ID: 99511

File Name: mysql_5_6_20_rpm.nasl

Version: 1.10

Type: local

Agent: unix

Family: Databases

Published: 4/20/2017

Updated: 6/3/2020

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2017-3302

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/a:oracle:mysql, p-cpe:/a:amazon:linux:mysql, p-cpe:/a:centos:centos:mysql, p-cpe:/a:fedoraproject:fedora:mysql, p-cpe:/a:fermilab:scientific_linux:mysql, p-cpe:/a:novell:opensuse:mysql, p-cpe:/a:novell:suse_linux:mysql, p-cpe:/a:oracle:linux:mysql, p-cpe:/a:redhat:enterprise_linux:mysql

Required KB Items: Host/local_checks_enabled

Exploit Ease: No known exploits are available

Patch Publication Date: 7/31/2014

Vulnerability Publication Date: 12/19/2011

Reference Information

CVE: CVE-2017-3302

BID: 96162