Scientific Linux Security Update : mysql on SL5.x i386/x86_64 (20130122)

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

Description

A stack-based buffer overflow flaw was found in the user permission checking code in MySQL. An authenticated database user could use this flaw to crash the mysqld daemon or, potentially, execute arbitrary code with the privileges of the user running the mysqld daemon.
(CVE-2012-5611)

A flaw was found in the way MySQL calculated the key length when creating a sort order index for certain queries. An authenticated database user could use this flaw to crash the mysqld daemon.
(CVE-2012-2749)

This update also adds a patch for a potential flaw in the MySQL password checking function, which could allow an attacker to log into any MySQL account without knowing the correct password. This problem (CVE-2012-2122) only affected MySQL packages that use a certain compiler and C library optimization. It did not affect the mysql packages in Scientific Linux 5. The patch is being added as a preventive measure to ensure this problem cannot get exposed in future revisions of the mysql packages.

After installing this update, the MySQL server daemon (mysqld) will be restarted automatically.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?7abdaeee

Plugin Details

Severity: Medium

ID: 63678

File Name: sl_20130122_mysql_on_SL5_x.nasl

Version: 1.6

Type: local

Agent: unix

Published: 1/24/2013

Updated: 1/14/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:mysql, p-cpe:/a:fermilab:scientific_linux:mysql-bench, p-cpe:/a:fermilab:scientific_linux:mysql-debuginfo, p-cpe:/a:fermilab:scientific_linux:mysql-devel, p-cpe:/a:fermilab:scientific_linux:mysql-server, p-cpe:/a:fermilab:scientific_linux:mysql-test, x-cpe:/o:fermilab:scientific_linux

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/22/2013

Vulnerability Publication Date: 6/26/2012

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2012-2122, CVE-2012-2749, CVE-2012-5611