openstack-ironic/ironic/drivers
Julia Kreger 336d76a111 Checksum files before raw conversion
While working another issue, we discovered that support added to
the ironic-conductor process combined the image_download_source
option of "local" with the "force_raw" option resulted in a case
where Ironic had no concept to checksum the files *before* the
conductor process triggered an image format conversion and
then records new checksum values.

In essence, this opened the user requested image file to be
suspetible to a theoretical man-in-the-middle attack OR
the remote server replacing the content with an unknown file,
such as a new major version.

The is at odds with Ironic's security model where we do want to
ensure the end user of ironic is asserting a known checksum for
the image artifact they are deploying, so they are aware of the
present state. Due to the risk, we chose to raise this as a CVE,
as infrastructure operators should likely apply this patch.

As a note, if your *not* forcing all images to be raw format
through the conductor, then this issue is likely not a major
issue for you, but you should still apply the patch.

This is being tracked as CVE-2024-47211.

Closes-Bug: 2076289
Change-Id: Id6185b317aa6e4f4363ee49f77e688701995323a
Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
2024-09-25 11:47:31 -07:00
..
modules Checksum files before raw conversion 2024-09-25 11:47:31 -07:00
__init__.py
base.py Add support for verify steps 2021-09-30 20:46:17 +10:00
drac.py Add Redfish RAID interface to idrac HW type 2021-03-19 12:11:50 -04:00
fake_hardware.py Derive FakeHardware from GenericHardware 2021-12-16 15:27:39 +01:00
generic.py Move ramdisk deploy to its own module 2021-09-06 16:30:53 +02:00
hardware_type.py Use property plus abstractmethod for abstractproperty 2020-08-06 11:34:23 +02:00
ibmc.py Fix: review from dtantsur of 728123 2020-06-17 17:41:55 +08:00
ilo.py Merge "Enables event subscription methods for ilo and ilo5 hardware types" 2022-09-12 15:49:33 +00:00
intel_ipmi.py Add IntelIPMIHardware 2019-06-25 13:46:26 +05:30
ipmi.py Add "noop" management and use it in the "ipmi" hardware type 2018-08-07 13:25:50 +00:00
irmc.py Change boot_interface order of iRMC driver 2022-12-16 13:10:45 -05:00
raid_config_schema.json Allow specifying target devices for software RAID 2020-03-17 14:31:38 +01:00
redfish.py Add Redfish RAID management to Ironic 2021-03-03 10:41:56 -06:00
snmp.py Switch the "snmp" hardware type to "noop" management 2018-08-07 15:40:29 +00:00
utils.py Allow reusing defaults in per-node kernel_append_params 2022-04-11 18:54:42 +02:00
xclarity.py Remove the xclarity deprecation 2018-10-24 13:01:17 -07:00