c996aafa6d
It was recently learned by the OpenStack community that running qemu-img on untrusted images without a format pre-specified can present a security risk. Furthermore, some of these specific image formats have inherently unsafe features. This is rooted in how qemu-img operates where all image drivers are loaded and attempt to evaluate the input data. This can result in several different vectors which this patch works to close. This change imports the qemu-img handling code from Ironic-Lib into Ironic, and image format inspection code, which has been developed by the wider community to validate general safety of images before converting them for use in a deployment. This patch contains functional changes related to the hardening of these calls including how images are handled, and updates documentation to provide context and guidance to operators. Closes-Bug: 2071740 Change-Id: I7fac5c64f89aec39e9755f0930ee47ff8f7aed47 Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com> |
||
---|---|---|
.. | ||
include | ||
refarch | ||
standalone | ||
advanced.rst | ||
configdrive.rst | ||
configure-cleaning.rst | ||
configure-compute.rst | ||
configure-esp.rst | ||
configure-glance-images.rst | ||
configure-glance-swift.rst | ||
configure-identity.rst | ||
configure-integration.rst | ||
configure-ipmi.rst | ||
configure-ipv6-networking.rst | ||
configure-networking.rst | ||
configure-nova-flavors.rst | ||
configure-pxe.rst | ||
configure-tenant-networks.rst | ||
creating-images.rst | ||
deploy-ramdisk.rst | ||
enabling-drivers.rst | ||
enabling-https.rst | ||
enrollment.rst | ||
get_started.rst | ||
index.rst | ||
install-obs.rst | ||
install-rdo.rst | ||
install-ubuntu.rst | ||
install.rst | ||
next-steps.rst | ||
setup-drivers.rst | ||
standalone.rst | ||
troubleshooting.rst |