- Issued:
- 2017-03-14
- Updated:
- 2017-03-14
RHSA-2017:0515 - Security Advisory
Synopsis
Important: ansible and ceph-ansible security, bug fix, and enhancement update
Type/Severity
Security Advisory: Important
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An update for ansible and ceph-ansible is now available for Red Hat Storage Console 2.
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.
Description
The ceph-ansible package provides Ansible playbooks for installing, maintaining, and upgrading Red Hat Ceph Storage.
Ansible is a simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically.
The following packages have been upgraded to a later upstream version: ceph-installer (1.2.2), ansible (2.2.1.0), python-passlib (1.6.5), ceph-ansible (2.1.9). (BZ#1405630)
Security Fix(es):
- An input validation vulnerability was found in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges. (CVE-2016-9587)
Bug Fix(es):
- Previously, the ceph-ansible utility permanently disabled the swap partition. With this update, ceph-ansible can no longer disable swap. (BZ#1364167)
- Previously, the ceph-ansible utility did not support adding encrypted OSD nodes. As a consequence, an attempt to upgrade to a newer, minor, or major version failed on encrypted OSD nodes. In addition, Ansible returned the following error message during the disk activation task:
mount: unknown filesystem type 'crypto_LUKS'
With this update, ceph-ansible supports adding encrypted OSD nodes, and upgrading works as expected. (BZ#1366808)
- Due to a bug in the underlying source code, the ceph-ansible utility in some cases failed on the copy roundep task. Consequently, the installation process was unsuccessful. This bug has been fixed, and the installation now proceeds as expected. (BZ#1382878)
- Previously, installation using the ceph-ansible utility failed on the "fix partitions gpt header or labels of the journal devices" task in the ceph-osd role because of an empty variable. The underlying source code has been modified, and the installation no longer fails in this case. (BZ#1400967)
- Previously, Red Hat Console Agent setup performed by the ceph-ansible utility only supported installations by using the Content Delivery Network (CDN). Installations with an ISO file or local Yum repository failed. With this update, all installations are successful. (BZ#1403576)
- Previously, the ceph-ansible utility was unable to purge a cluster with encrypted OSD devices because the underlying ceph-disk utility was unable to destroy the partition table on an encrypted device by using the "--zap-disk" option. The underlying source code has been fixed allowing ceph-disk to use the "--zap-disk" option on encrypted devices. As a result, ceph-ansible can purge clusters with encrypted OSD devices as expected. (BZ#1414647)
- Previously, during the creation of Ceph clusters with nodes that use IPv6 addressing, ceph-ansible added the "ms bind ipv6" key to the Ceph configuration file, but it did not assign any value to it. This behavior caused an error when parsing the configuration file after the cluster creation. With this update, the "ms bind ipv6" key is properly set in the Ceph configuration file allowing for proper configuration file parsing on clusters that use IPv6 addressing. (BZ#1419814)
Enhancement(s):
- The ceph-ansible utility now supports the client role. This new role enables you to install Ceph clients by using Ansible and deploy nodes to run tests against the Ceph cluster. (BZ#1384622)
- The ceph-installer API now supports installation of OSD nodes that have journals collocated on the same devices. (BZ#1412867)
Solution
For details on how to apply this update, which includes the changes described in this advisory, refer to:
Affected Products
- Red Hat Storage Console 2 x86_64
Fixes
- BZ - 1312443 - restrict access to endpoints to localhost only
- BZ - 1339576 - [ceph-ansible] purge-cluster fails with "grep: write error"
- BZ - 1364167 - [ceph-ansible] role ceph-common disables swap by default
- BZ - 1366808 - Ansible: upgrade nodes with encrypted OSDs and support for dm-crypt
- BZ - 1382878 - [ansible 1.0.8-1] fails during copy rundep - with_items expects a list or a set
- BZ - 1384622 - Add the client role to ceph-ansible
- BZ - 1400967 - [ceph-ansible] ceph-ansible failing to check raw journal devices
- BZ - 1403576 - Agent installation fails in ceph nodes upgraded from 1.3 to 2.0 and connected to local yum repository
- BZ - 1404378 - CVE-2016-9587 Ansible: Compromised remote hosts can lead to running commands on the Ansible controller
- BZ - 1404515 - ceph-ansible should set set apt pinning for deb packages
- BZ - 1405630 - resync with ceph-ansible upstream v2.1 release
- BZ - 1405985 - [ceph-ansible]: enable CDN repository to allow installation of ceph-mds
- BZ - 1406556 - Upgrade of Ansible packages (2.2.1.0)
- BZ - 1412867 - Allow OSDs to be configured/installed with journal colocation
- BZ - 1413985 - [ceph-ansible]: purge-cluster.yml fails with ""Partition number 2 out of range!" on RHEL
- BZ - 1414647 - [ceph-ansible]: purge cluster fails to zap OSD disks having encrypted OSDs
- BZ - 1416010 - [ceph-ansible] config file generation fails on ipv6 nodes with message dict object' has no attribute 'address'
- BZ - 1418980 - [ceph-ansible]: purge cluster on ubuntu fails to purge client node.
- BZ - 1419814 - [ceph-ansible] no value is set to the key 'ms bind ipv6' in config file during ipv6 cluster creation
- BZ - 1422134 - RHSCON-2: purge-cluster does not remove calamari-server packages
CVEs
Red Hat Storage Console 2
SRPM | |
---|---|
ansible-2.2.1.0-1.el7.src.rpm | SHA-256: 6e7e3b602d1c910a266f78dc260e23470700a488b0e7de5db10461c8723e0ceb |
ceph-ansible-2.1.9-1.el7scon.src.rpm | SHA-256: 42bcd2ce3716a2ccb5448b5afa343e69733b4ccf8e0ee95f698bd93b2bef0645 |
ceph-installer-1.2.2-1.el7scon.src.rpm | SHA-256: a4c1ab00252f950a75a10a7730663e98f7d063e84f89c0d87edd2e72e7dd3b49 |
python-passlib-1.6.5-1.1.el7.src.rpm | SHA-256: 1828379b1bfd3253aefed1ad2e1fcd99898183ab12511d7fc82e3f04f0e780b6 |
x86_64 | |
ansible-2.2.1.0-1.el7.noarch.rpm | SHA-256: a3430da0d1c09181d85983073f32019b9fcf4cbf3b39ad8e10be4e878768c6f8 |
ceph-ansible-2.1.9-1.el7scon.noarch.rpm | SHA-256: 8fee032664c5b9692462e36ee7043076221f70dfc019d01a5eb45b47264ded2a |
ceph-installer-1.2.2-1.el7scon.noarch.rpm | SHA-256: 0124ce89bdc9f40ac79ffac4b5964b6d00faabe7d2d45984416a985e08685000 |
python-passlib-1.6.5-1.1.el7.noarch.rpm | SHA-256: 1785c4fc591b42974b0fae511aff1a70ddbea31a59a692e5de36791f54ecc9d9 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.