Bugzilla – Bug 998182
VUL-0: CVE-2016-7404: openstack-magnum: Magnum created instances have full API access to creating user's OpenStack account
Last modified: 2017-07-07 10:03:21 UTC
bugbot adjusting priority
Mitre has assigned CVE-2016-7404.
There appears to be a bit of a problem with upstream responsibility for security bugs in Magnum. I asked several core developers, including Hongbin Lu (Magnum's PTL) whether they can access the bug and it 404s for all of them. The reason is because Magnum doesn't appear to be well integrated into the vulnerability management process, i.e. it's not listed on this page and doesn't have a designated vulnerability liason: https://wiki.openstack.org/wiki/CrossProjectLiaisons#Vulnerability_management That being said, I went with the spirit of the process (default to a project's PTL if nobody is named explicitely) and added Hongbin as a subscriber on the upstream bug. He's currently looking at it.
https://github.com/openstack/magnum/tree/master/etc/magnum now has it
public
https://git.openstack.org/cgit/openstack/magnum/commit/?id=0bb0d6486d6771ee21bbf897a091b1aa59e01b22 Fix CVE-2016-7404 This commit addresses multiple potential vulnerabilities in Magnum. It makes the following changes: * Permissions for /etc/sysconfig/heat-params inside Magnum created instances are tightened to 0600 (used to be 0755). * Certificate retrieval is modified to work without the need for a Keystone trust. * The cluster's Keystone trust id is only passed into instances for clusters where that is actually needed. This prevents the trustee user from consuming the trust in cases where it is not needed. * The configuration setting trust/cluster_user_trust (False by default) is introduced. It needs to be explicitely enabled by the cloud operator to allow clusters that need the trust_id to be passed into instances to work. Without this setting, attempts to create such clusters will fail. Please note, that none of these changes apply to existing clusters. They will have to be deleted and rebuilt to benefit from these changes. (cherry picked from commit e93d82e8b3bc19211efd54edc17aebdca50670c1) Changes for backport: * Moved cluster_user_trust setting to magnum/common/keystone.py * Resolved merge conflicts. * Fixed unit tests with configuration overrides. Change-Id: I408d845ee4fd00d5bcd1e90f0a78f2bba3f2a57a
SUSE-SU-2017:1233-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 998182 CVE References: CVE-2016-7404 Sources used: SUSE OpenStack Cloud 7 (src): openstack-magnum-3.1.2~a0~dev20-9.4, openstack-magnum-doc-3.1.2~a0~dev20-9.3