CentOS 5 : mysql (CESA-2013:0180)

medium Nessus Plugin ID 63672

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated mysql packages that fix two security issues are now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

MySQL is a multi-user, multi-threaded SQL database server. It consists of the MySQL server daemon (mysqld) and many client programs and libraries.

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 Red Hat Enterprise 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. (BZ#814605)

All MySQL users should upgrade to these updated packages, which correct these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically.

Solution

Update the affected mysql packages.

See Also

http://www.nessus.org/u?28b2f2b3

Plugin Details

Severity: Medium

ID: 63672

File Name: centos_RHSA-2013-0180.nasl

Version: 1.9

Type: local

Agent: unix

Published: 1/24/2013

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2012-5611

Vulnerability Information

CPE: p-cpe:/a:centos:centos:mysql-server, p-cpe:/a:centos:centos:mysql-devel, p-cpe:/a:centos:centos:mysql, cpe:/o:centos:centos:5, p-cpe:/a:centos:centos:mysql-test, p-cpe:/a:centos:centos:mysql-bench

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/22/2013

Vulnerability Publication Date: 8/17/2012

Reference Information

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

BID: 55120, 56769

RHSA: 2013:0180