Mandrake Linux Security Advisory : MySQL (MDKSA-2007:139)

medium Nessus Plugin ID 25669
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 Mandrake Linux host is missing one or more security updates.

Description

MySQL 5.x before 5.0.36 allows local users to cause a denial of service (database crash) by performing information_schema table subselects and using ORDER BY to sort a single-row result, which prevents certain structure elements from being initialized and triggers a NULL dereference in the filesort function. This issue does not affect MySQL 5.0.37 in Mandriva Linux 2007.1. (CVE-2007-1420)

The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18-beta, allows context-dependent attackers to cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.
(CVE-2007-2583)

MySQL before 4.1.23, 5.0.x before 5.0.42, and 5.1.x before 5.1.18 does not require the DROP privilege for RENAME TABLE statements, which allows remote authenticated users to rename arbitrary tables.
(CVE-2007-2691)

Updated packages have been patched to prevent the above issues.

Solution

Update the affected packages.

Plugin Details

Severity: Medium

ID: 25669

File Name: mandrake_MDKSA-2007-139.nasl

Version: 1.16

Type: local

Published: 7/5/2007

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Vector: AV:N/AC:M/Au:S/C:N/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:MySQL, p-cpe:/a:mandriva:linux:MySQL-Max, p-cpe:/a:mandriva:linux:MySQL-bench, p-cpe:/a:mandriva:linux:MySQL-client, p-cpe:/a:mandriva:linux:MySQL-common, p-cpe:/a:mandriva:linux:MySQL-ndb-extra, p-cpe:/a:mandriva:linux:MySQL-ndb-management, p-cpe:/a:mandriva:linux:MySQL-ndb-storage, p-cpe:/a:mandriva:linux:MySQL-ndb-tools, p-cpe:/a:mandriva:linux:lib64mysql15, p-cpe:/a:mandriva:linux:lib64mysql15-devel, p-cpe:/a:mandriva:linux:lib64mysql15-static-devel, p-cpe:/a:mandriva:linux:libmysql15, p-cpe:/a:mandriva:linux:libmysql15-devel, p-cpe:/a:mandriva:linux:libmysql15-static-devel, cpe:/o:mandriva:linux:2007, cpe:/o:mandriva:linux:2007.1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 7/4/2007

Reference Information

CVE: CVE-2007-1420, CVE-2007-2583, CVE-2007-2691

MDKSA: 2007:139

CWE: 189