Lucene search
+L

MariaDB Denial Of Service Vulnerability (Feb 2017) - Linux

🗓️ 16 Feb 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

MariaDB Denial Of Service Vulnerability (Feb 2017) - Linux. Denial of service vulnerability in MariaDB versions 5.5.54 to 10.2.3 on Linux allows attackers to crash applications through certain SQL errors

Related
Refs
Code
# SPDX-FileCopyrightText: 2017 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:mariadb:mariadb";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.810606");
  script_version("2025-09-09T05:38:49+0000");
  script_cve_id("CVE-2017-3302");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");
  script_tag(name:"creation_date", value:"2017-02-16 15:44:39 +0530 (Thu, 16 Feb 2017)");
  script_name("MariaDB Denial Of Service Vulnerability (Feb 2017) - Linux");

  script_tag(name:"summary", value:"MariaDB is prone to a denial of service (DoS) vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple errors exist as,

  - In sql-common/client.c script 'mysql_prune_stmt_list' function, the for loop
    adds elements to pruned_list without removing it from the existing list.

  - If application gets disconnected just before it tries to prepare a new
    statement, 'mysql_prune_stmt_list' tries to detach all previously prepared
    statements.");

  script_tag(name:"impact", value:"Successful exploitation of this vulnerability
  will allow attackers to cause crash of applications using that MySQL client.");

  script_tag(name:"affected", value:"MariaDB through 5.5.54, 10.0.x through
  10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3 on Linux");

  script_tag(name:"solution", value:"Update to MariaDB 5.5.55, 10.2.5, 10.1.22, 10.0.30 or later.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2017/02/11/11");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Databases");
  script_dependencies("gb_mysql_mariadb_remote_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("mariadb/detected", "Host/runs_unixoide");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if(!mariadbPort = get_app_port(cpe:CPE)){
  exit(0);
}

if(!mariadbVer = get_app_version(cpe:CPE, port:mariadbPort)){
  exit(0);
}

##10.2.x through 10.2.3
if(mariadbVer =~ "^(10\.2\.)")
{
  if(version_is_less_equal(version:mariadbVer, test_version:"10.2.3"))
  {
    VULN = TRUE;
    fix = "10.2.5";
  }
}

##10.1.x through 10.1.21
else if(mariadbVer =~ "^(10\.1\.)")
{
  if(version_is_less_equal(version:mariadbVer, test_version:"10.1.21"))
  {
    VULN = TRUE;
    fix = "10.1.22";
  }
}

##10.0.x through 10.0.29
else if(mariadbVer =~ "^(10\.0\.)")
{
  if(version_is_less_equal(version:mariadbVer, test_version:"10.0.29"))
  {
    VULN = TRUE;
    fix = "10.0.30";
  }
}

##MariaDB through 5.5.54
else if(version_is_less_equal(version:mariadbVer, test_version:"5.5.54"))
{
  VULN = TRUE;
  fix = "5.5.55";
}

if(VULN)
{
  report = report_fixed_ver(installed_version:mariadbVer, fixed_version:fix);
  security_message(data:report, port:mariadbPort);
  exit(0);
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

09 Sep 2025 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 25
CVSS 37.5
EPSS0.04905
SSVC
25