Public Date:
1489360: CVE-2017-12155 openstack-tripleo-heat-templates: Ceph client keyring is world-readable when deployed by director
A resource-permission flaw was found in the openstack-tripleo-heat-templates package where ceph.client.openstack.keyring is created as world-readable. A local attacker with access to the key could read or modify data on Ceph cluster pools for OpenStack as though the attacker were the OpenStack service, thus potentially reading or modifying data in an OpenStack Block Storage volume. To exploit this flaw, the attacker must have local access to an overcloud node. However by default, access to overcloud nodes is restricted and accessible only from the management undercloud server on an internal network. Follow good security principles in your networking environment to ensure that network access is properly controlled.

Find out more about CVE-2017-12155 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 8.4
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality High
Integrity Impact High
Availability Impact None

Red Hat Security Errata

Platform Errata Release Date
Red Hat OpenStack Platform 10 RHSA-2018:1593 2018-05-17
Red Hat OpenStack Platform 11.0 (Ocata) RHSA-2018:1627 2018-05-18
Red Hat OpenStack Platform 12.0 (openstack-tripleo-heat-templates) RHSA-2018:0602 2018-03-28

Affected Packages State

Platform Package State
Red Hat OpenStack Platform 12.0 rhosp-director Not affected
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 openstack-tripleo-heat-templates Will not fix
OpenStack 9.0 Director for RHEL 7 openstack-tripleo-heat-templates Will not fix
OpenStack 8.0 Director for RHEL 7 openstack-tripleo-heat-templates Will not fix
OpenStack 7.0 Director for RHEL 7 openstack-tripleo-heat-templates Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.


Red Hat would like to thank Katuya Kawakami (NEC) for reporting this issue.


To mitigate the flaw, use an overcloud post-deploy script[1] to do the following on all overcloud nodes:

chown root:root $key
chmod 600 $key
setfacl -m u:glance:r $key
setfacl -m u:cinder:r $key
setfacl -m u:nova:r $key
setfacl -m u: gnocchi:r $key

If not using Red Hat OpenStack Platform director, then run the commands above manually on each overcloud node,
Warning: Only running 'chmod 600 $key' alone (without an ACL) will prevent OpenStack from reading the key.


Last Modified