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

Medium Nessus Plugin ID 99511


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


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.


Upgrade to MySQL version 5.6.20 or later.

See Also

Plugin Details

Severity: Medium

ID: 99511

File Name: mysql_5_6_20_rpm.nasl

Version: $Revision: 1.6 $

Type: local

Family: Databases

Published: 2017/04/20

Modified: 2017/07/20

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.6

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 6.5

Temporal Score: 6

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/07/31

Vulnerability Publication Date: 2011/12/19

Reference Information

CVE: CVE-2017-3302

BID: 96162

OSVDB: 151210