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

Medium Nessus Plugin ID 25669


The remote Mandrake Linux host is missing one or more security updates.


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 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.

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.

Updated packages have been patched to prevent the above issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 25669

File Name: mandrake_MDKSA-2007-139.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2007/07/05

Modified: 2013/06/01

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.9

Vector: CVSS2#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: 2007/07/04

Reference Information

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

MDKSA: 2007:139

CWE: 189