magnum/etc/magnum
Johannes Grassler 2d4e617a52 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 e93d82e8b3)

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
2017-02-24 17:47:14 +00:00
..
README-magnum.conf.txt Add introduce doc how to generate magnum.conf.sample 2016-01-29 06:56:03 +00:00
api-paste.ini Healthcheck Middleware 2016-04-22 12:32:44 +00:00
magnum-config-generator.conf Use magnum-config-generator.conf to generate Magnum config sample file 2016-01-27 11:28:26 +08:00
policy.json Fix CVE-2016-7404 2017-02-24 17:47:14 +00:00