rhsa-2016_2059
Vulnerability from csaf_redhat
Published
2016-10-13 14:13
Modified
2024-11-14 20:48
Summary
Red Hat Security Advisory: mariadb-galera security and bug fix update
Notes
Topic
An update for mariadb-galera is now available for Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7.
Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
MariaDB is a multi-user, multi-threaded SQL database server that is binary compatible with MySQL. Galera is a synchronous multi-master cluster for MariaDB.
Security Fix(es):
* It was discovered that the MySQL logging functionality allowed writing to MySQL 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)
Bug Fix(es):
* Because Red Hat Enterprise Linux 7.3 changed the return format of the "systemctl is-enabled" command as consumed by shell scripts, the mariadb-galera RPM package, upon installation, erroneously detected that the MariaDB service was enabled when it was not. As a result, the Red Hat OpenStack Platform installer, which then tried to run mariadb-galera using Pacemaker and not systemd, failed to start Galera. With this update, mariadb-galera's RPM installation scripts now use a different systemctl command, correctly detecting the default MariaDB as disabled, and the installer can succeed. (BZ#1376908)
* Previously, both the mariadb-server and mariadb-galera-server packages shipped the client-facing libraries, dialog.so and mysql_clear_password.so. As a result, the mariadb-galera-server package would fail to install because of package conflicts. With this update, these libraries have been moved from mariadb-galera-server to mariadb-libs, and the mariadb-galera-server package installs successfully. (BZ#1376902)
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Important" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for mariadb-galera is now available for Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "MariaDB is a multi-user, multi-threaded SQL database server that is binary compatible with MySQL. Galera is a synchronous multi-master cluster for MariaDB.\n\nSecurity Fix(es):\n\n* It was discovered that the MySQL logging functionality allowed writing to MySQL 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)\n\nBug Fix(es):\n\n* Because Red Hat Enterprise Linux 7.3 changed the return format of the \"systemctl is-enabled\" command as consumed by shell scripts, the mariadb-galera RPM package, upon installation, erroneously detected that the MariaDB service was enabled when it was not. As a result, the Red Hat OpenStack Platform installer, which then tried to run mariadb-galera using Pacemaker and not systemd, failed to start Galera. With this update, mariadb-galera\u0027s RPM installation scripts now use a different systemctl command, correctly detecting the default MariaDB as disabled, and the installer can succeed. (BZ#1376908)\n\n* Previously, both the mariadb-server and mariadb-galera-server packages shipped the client-facing libraries, dialog.so and mysql_clear_password.so. As a result, the mariadb-galera-server package would fail to install because of package conflicts. With this update, these libraries have been moved from mariadb-galera-server to mariadb-libs, and the mariadb-galera-server package installs successfully. (BZ#1376902)", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2016:2059", "url": "https://access.redhat.com/errata/RHSA-2016:2059" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#important", "url": "https://access.redhat.com/security/updates/classification/#important" }, { "category": "external", "summary": "https://access.redhat.com/security/cve/CVE-2016-6662", "url": "https://access.redhat.com/security/cve/CVE-2016-6662" }, { "category": "external", "summary": "1375198", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1375198" }, { "category": "external", "summary": "1376902", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1376902" }, { "category": "external", "summary": "1376908", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1376908" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_2059.json" } ], "title": "Red Hat Security Advisory: mariadb-galera security and bug fix update", "tracking": { "current_release_date": "2024-11-14T20:48:49+00:00", "generator": { "date": "2024-11-14T20:48:49+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.2.1" } }, "id": "RHSA-2016:2059", "initial_release_date": "2016-10-13T14:13:54+00:00", "revision_history": [ { "date": "2016-10-13T14:13:54+00:00", "number": "1", "summary": "Initial version" }, { "date": "2016-10-13T14:13:54+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-14T20:48:49+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product": { "name": "Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product_id": "7Server-RH7-RHOS-5.0", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:5::el7" } } } ], "category": "product_family", "name": "Red Hat OpenStack Platform" }, { "branches": [ { "category": "product_version", "name": "mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "product": { "name": "mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "product_id": "mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/mariadb-galera-debuginfo@5.5.42-1.2.el7ost?arch=x86_64\u0026epoch=1" } } }, { "category": "product_version", "name": "mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "product": { "name": "mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "product_id": "mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/mariadb-galera-common@5.5.42-1.2.el7ost?arch=x86_64\u0026epoch=1" } } }, { "category": "product_version", "name": "mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64", "product": { "name": "mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64", "product_id": "mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/mariadb-galera-server@5.5.42-1.2.el7ost?arch=x86_64\u0026epoch=1" } } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_version", "name": "mariadb-galera-1:5.5.42-1.2.el7ost.src", "product": { "name": "mariadb-galera-1:5.5.42-1.2.el7ost.src", "product_id": "mariadb-galera-1:5.5.42-1.2.el7ost.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/mariadb-galera@5.5.42-1.2.el7ost?arch=src\u0026epoch=1" } } } ], "category": "architecture", "name": "src" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "mariadb-galera-1:5.5.42-1.2.el7ost.src as a component of Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product_id": "7Server-RH7-RHOS-5.0:mariadb-galera-1:5.5.42-1.2.el7ost.src" }, "product_reference": "mariadb-galera-1:5.5.42-1.2.el7ost.src", "relates_to_product_reference": "7Server-RH7-RHOS-5.0" }, { "category": "default_component_of", "full_product_name": { "name": "mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64 as a component of Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product_id": "7Server-RH7-RHOS-5.0:mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64" }, "product_reference": "mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "relates_to_product_reference": "7Server-RH7-RHOS-5.0" }, { "category": "default_component_of", "full_product_name": { "name": "mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64 as a component of Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product_id": "7Server-RH7-RHOS-5.0:mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64" }, "product_reference": "mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "relates_to_product_reference": "7Server-RH7-RHOS-5.0" }, { "category": "default_component_of", "full_product_name": { "name": "mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64 as a component of Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7", "product_id": "7Server-RH7-RHOS-5.0:mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64" }, "product_reference": "mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64", "relates_to_product_reference": "7Server-RH7-RHOS-5.0" } ] }, "vulnerabilities": [ { "cve": "CVE-2016-6662", "cwe": { "id": "CWE-732", "name": "Incorrect Permission Assignment for Critical Resource" }, "discovery_date": "2016-09-12T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "1375198" } ], "notes": [ { "category": "description", "text": "It was discovered that the MySQL logging functionality allowed writing to MySQL 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.", "title": "Vulnerability description" }, { "category": "summary", "text": "mysql: general_log can write to configuration files, leading to privilege escalation (CPU Oct 2016)", "title": "Vulnerability summary" }, { "category": "other", "text": "All MySQL and MariaDB packages in Red Hat Enterprise Linux and Red Hat Software Collections install the my.cnf configuration file in /etc as root-owned and not writeable to mysqld\u0027s mysql user. This default configuration stops the published exploit for this issue.\n\nAll MySQL and MariaDB packages for Red Hat Enterprise Linux 7 (either those directly included in Red Hat Enterprise Linux 7 or from Red Hat Software Collections for Red Hat Enterprise Linux 7) run mysqld_safe with mysql user privileges and not root privileges, limiting the potential impact to code execution as mysql system user.\n\nThe MySQL 5.1 packages in Red Hat Enterprise Linux 6 do not implement support for library preloading, completely preventing the remote attack vector used by the published exploit.\n\nFor additional details, refer to:\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1375198#c12", "title": "Statement" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "7Server-RH7-RHOS-5.0:mariadb-galera-1:5.5.42-1.2.el7ost.src", "7Server-RH7-RHOS-5.0:mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2016-6662" }, { "category": "external", "summary": "RHBZ#1375198", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1375198" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2016-6662", "url": "https://www.cve.org/CVERecord?id=CVE-2016-6662" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2016-6662", "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6662" }, { "category": "external", "summary": "https://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.txt", "url": "https://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.txt" } ], "release_date": "2016-09-12T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2016-10-13T14:13:54+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258\n\nAfter installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.", "product_ids": [ "7Server-RH7-RHOS-5.0:mariadb-galera-1:5.5.42-1.2.el7ost.src", "7Server-RH7-RHOS-5.0:mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2016:2059" }, { "category": "workaround", "details": "- Ensure all MySQL / MariaDB configuration files are not writeable to the mysql user. This is the default configuration in Red Hat products.\n\n- Ensure that non-administrative database users are not granted FILE privilege. Applications accessing data in MySQL / MariaDB databases, including web application potentially vulnerable to SQL injections, should use database accounts with the lowest privileges required.\n\n- If FILE permission needs to be granted to some non-administrative database users, use secure_file_priv setting to limit where files can be written to or read from.", "product_ids": [ "7Server-RH7-RHOS-5.0:mariadb-galera-1:5.5.42-1.2.el7ost.src", "7Server-RH7-RHOS-5.0:mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64" ] } ], "scores": [ { "cvss_v2": { "accessComplexity": "HIGH", "accessVector": "NETWORK", "authentication": "SINGLE", "availabilityImpact": "COMPLETE", "baseScore": 7.1, "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "vectorString": "AV:N/AC:H/Au:S/C:C/I:C/A:C", "version": "2.0" }, "cvss_v3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" }, "products": [ "7Server-RH7-RHOS-5.0:mariadb-galera-1:5.5.42-1.2.el7ost.src", "7Server-RH7-RHOS-5.0:mariadb-galera-common-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-debuginfo-1:5.5.42-1.2.el7ost.x86_64", "7Server-RH7-RHOS-5.0:mariadb-galera-server-1:5.5.42-1.2.el7ost.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Important" } ], "title": "mysql: general_log can write to configuration files, leading to privilege escalation (CPU Oct 2016)" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.