Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 465
Alerts This Week
Warning Icon 1 465

Red Hat: RHSA-2016:2595-02 Critical: MariaDB Security Issues

red hat
Calendar Grey November 3, 2016
Scroller Redhat
A critical MariaDB security patch and bug resolution update has been released for Red Hat Enterprise Linux. This update addresses several vulnerabilities.
An update for mariadb is now available for Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

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

Summary

MariaDB is a multi-user, multi-threaded SQL database server that is binary compatible with MySQL.
The following packages have been upgraded to a newer upstream version: mariadb (5.5.52). (BZ#1304516, BZ#1377974)
Security Fix(es):
* It was discovered that the MariaDB logging functionality allowed writing to MariaDB configuration files. An administrative database user, or a database user with FILE privileges, could possibly use this flaw to run arbitrary commands with root privileges on the system running the database server. (CVE-2016-6662)
* A race condition was found in the way MariaDB performed MyISAM engine table repair. A database user with shell access to the server running mysqld could use this flaw to change permissions of arbitrary files writable by the mysql system user. (CVE-2016-6663)
* This update fixes several vulnerabilities in the MariaDB database server. Information about these flaws can be found on the Oracle Critical Patch Update Advisory page, listed in the References section. (CVE-2016-3492, CVE-2016-5612, CVE-2016-5616, CVE-2016-5624, CVE-2016-5626, CVE-2016-5629, CVE-2016-8283)
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.3 Release Notes linked from the References section.

References

https://access.redhat.com/security/cve/CVE-2016-3492 https://access.redhat.com/security/cve/CVE-2016-5612 https://access.redhat.com/security/cve/CVE-2016-5616 https://access.redhat.com/security/cve/CVE-2016-5624 https://access.redhat.com/security/cve/CVE-2016-5626 https://access.redhat.com/security/cve/CVE-2016-5629 https://access.redhat.com/security/cve/CVE-2016-6662 https://access.redhat.com/security/cve/CVE-2016-6663 https://access.redhat.com/security/cve/CVE-2016-8283 https://access.redhat.com/security/updates/classification#important https://docs.redhat.com/en/documentation/Red_Hat_Enterprise_Linux/7/html/7.3_Release_Notes/index.html https://www.oracle.com/security-alerts/cpuoct2016.html https://mariadb.com/docs/release-notes/community-server/old-releases/release-notes-mariadb-5-5-series/mariadb-5551-release-notes https://mariadb.com/docs/release-notes/community-server/old-releases/release-notes-mariadb-5-5-series/mariadb-5552-release-notes

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: mariadb-5.5.52-1.el7.src.rpm
x86_64: mariadb-5.5.52-1.el7.x86_64.rpm mariadb-debuginfo-5.5.52-1.el7.i686.rpm mariadb-debuginfo-5.5.52-1.el7.x86_64.rpm mariadb-libs-5.5.52-1.el7.i686.rpm mariadb-libs-5.5.52-1.el7.x86_64.rpm mariadb-server-5.5.52-1.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: mariadb-bench-5.5.52-1.el7.x86_64.rpm mariadb-debuginfo-5.5.52-1.el7.i686.rpm mariadb-debuginfo-5.5.52-1.el7.x86_64.rpm mariadb-devel-5.5.52-1.el7.i686.rpm mariadb-devel-5.5.52-1.el7.x86_64.rpm mariadb-embedded-5.5.52-1.el7.i686.rpm mariadb-embedded-5.5.52-1.el7.x86_64.rpm mariadb-embedded-devel-5.5.52-1.el7.i686.rpm mariadb-embedded-devel-5.5.52-1.el7.x86_64.rpm mariadb-test-5.5.52-1.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: mariadb-5.5.52-1.el7.src.rpm
x86_64: mariadb-5.5.52-1.el7.x86_64.rpm mariadb-debuginfo-5.5.52-1.el7.i686.rpm mariadb-debuginfo-5.5.52-1.el7.x86_64.rpm mariadb-libs-5.5.52-1.el7.i686.rpm mariadb-libs-5.5.52-1.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64: mariadb-bench-5.5.52-1.el7.x86_64.rpm mariadb-debuginfo-5.5.52-1.el7.i686.rpm mariadb-debuginfo-5.5.52-1.el7.x86_64.rpm mariadb-devel-5.5.52-1.el7.i686.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:2595-02
Product: Red Hat Enterprise Linux
Issue date: 2016-11-03

Topic

An update for mariadb is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

1138843 - dialog.so and mysql_clear_password.so should be in mariadb-libs package

1241623 - /usr/lib/tmpfiles.d/mariadb.conf is overwritten when mariadb package is updated

1300621 - Duplicate key with auto increment

1335863 - non-daemon ELF binaries are compiled as PIE, but without full RELRO

1375198 - CVE-2016-6662 mysql: general_log can write to configuration files, leading to privilege escalation

1378936 - CVE-2016-6663 mysql: race condition while setting stats during MyISAM table repair

1386554 - CVE-2016-3492 mysql: unspecified vulnerability in subcomponent: Server: Optimizer (CPU October 2016)

1386561 - CVE-2016-5612 mysql: unspecified vulnerability in subcomponent: Server: DML (CPU October 2016)

1386562 - CVE-2016-5616 mysql: unspecified vulnerability in subcomponent: Server: MyISAM (CPU October 2016)

1386566 - CVE-2016-5624 mysql: unspecified vulnerability in subcomponent: Server: DML (CPU October 2016)

1386568 - CVE-2016-5626 mysql: unspecified vulnerability in subcomponent: Server: GIS (CPU October 2016)

1386572 - CVE-2016-5629 mysql: unspecified vulnerability in subcomponent: Server: Federated (CPU October 2016)

1386585 - CVE-2016-8283 mysql: unspecified vulnerability in subcomponent: Server: Types (CPU October 2016)

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.