ironic 29.0.6 (epoxy)
We are glad to announce the release of: ironic 29.0.6 This release is part of the epoxy release series. The source is available from: https://opendev.org/openstack/ironic Download the package from: https://tarballs.openstack.org/ironic/ Please report issues through: https://bugs.launchpad.net/ironic/+bugs For more details, please see below. 29.0.6 ^^^^^^ Known Issues ************ * System operators should note that changing the owner field on a node does not affect its child or parent nodes, potentially resulting in these nodes being in different projects. Upgrade Notes ************* * Adds an upgrade check that issues a warning when any node has a different owner from its parent node. Deprecation Notes ***************** * The node "driver_info" field value "pxe_template" has been deprecated and is expected to be removed in the future Ironic 2027.2 release. Security Issues *************** * Addresses a potential security issues where an admin of a project could create nodes with "parent_node" set to a node from a different project. * Prevents changing the "node_uuid" of ports, port groups, volume targets, and volume connectors to point to a node with a different owner from the initial node. In some cases this is not normally permitted due to the database model, but additional access checking was added across these similar resources for consistency in the event the Ironic project fixes 12150252 (https://bugs.launchpad.net/ironic/+bug/2150252). * Fixes CVE-2026-48681 which was a lack of file path validation when interacting with ISO9660 files in the kickstart/anaconda driver, and administrative deployment ISOs which are admin-provided. Ironic now explicitly rejects the submitted files when such a case has been detected. * Disable installation of bootloaders (via grub-install) by IPA by default in order to improve security posture by adding a new agent configuration option *enable_bios_bootloader_install* which defaults to *True* for this branch of Ironic. Operators who have a stricter security posture or do not need this functionality can disable installation of bootloaders by setting *enable_bios_bootloader_install* to *False*. Addresses CVE-2026-43003. * The IPMI Vendor-Passthru interface method "send_raw" step has been disabled by default due to security implications. A malicious user with sufficient Ironic access could utilzie this interface to make manual changes to BMCs when the "ipmitool" vendor-passthru interface was enabled. * Fixes a vulnerability where security proxy could be crashed if attacker controls host VNC server. The exploit requires that VNC server first informs the client that there is 0 security types available and then sends a reason with reason length for this. There is no checks for reason length, so the attacker can make the security proxy to reserve up to 4 GB of memory and causing it to crash. The security proxy is shared between all tenants, so crashing the proxy denies console access for all tenants. More information in the bug description bug 2155052 (https://bugs.launchpad.net/ironic/+bug/2155052). * Fixes a security issue where a malicious 'kernel_append_params' in a node's 'instance_info' or 'driver_info' could cause an attacker to take control of a node's initial boot through boot script injection. The fix includes sanitization of 'kernel_append_params' to prevent such injection. Strict parsing of kernel parameters is now in place as well and enabled by default. If an operator needs to disable such strict parsing they may do so by setting the configuration option conductor.disable_kernel_parameter_parsing to 'True'. However, this is discouraged as it weakens the security posture of Ironic. This fix addresses CVE-2026-46447. This back-port utilizes a generated, stand-alone lark parser governed by the MPL v2.0 license. * A vulnerability was discovered in an minimally documented feature of Ironic where an absolute path to a "pxe_template" override value could be defined by an authenticated and privilged API user. The Ironic team has chosen to immediately deprecate and remove this functionality. To provide an immediate security fix, this functionality is now disabled by default. The functionality can be re-enabled via the "[pxe]enable_insecure_template_override" configuration option which was added to ironic.conf with a default value of "False". This issue is tracked as bug 2148319 (https://bugs.launchpad.net/ironic/+bug/2148319). * The volume target "properties" field can contain sensitive iSCSI connection details, including CHAP authentication credentials. A contributor identified that the "baremetal:volume:view_target_properties" RBAC policy check was not applied to "PATCH" responses. During review, the ironic core security team determined that RBAC policy enforcement alone was insufficient since standalone deployments do not have RBAC support. The fix was updated in line with code reviewer feedback to add secondary scrubbing of the "properties" field in all cases using "mask_dict_password", ensuring password-like values are masked in all API responses unconditionally. Bug Fixes ********* * The "[pxe]pxe_bootfile_name_by_arch" and "[pxe]ipxe_bootfile_name_by_arch" options now support composite keys in the format "arch-boot_mode" (e.g. "x86_64-bios:undionly.kpxe", "x86_64-uefi:snponly.efi"). The composite key is tried first, then the arch-only key as a fallback, preserving backward compatibility. Previously it was not possible to specify different boot files for the same architecture in different boot modes (e.g. x86_64 in both UEFI and BIOS), because the boot mode check was skipped when a by- arch entry matched. Fixes bug 2157027 (https://bugs.launchpad.net/ironic/+bug/2157027). * Fixes path handling around ISO9660 file handling as denoted in bug 2148333 (https://bugs.launchpad.net/ironic/+bug/2148333) under CVE-2026-48681 where a malicious user with deployment privilges could craft an ISO9660 formatted configuration drive or deployment ramdisk which includes intentional path manipulation which is non- compliant with the underlying standard. Ironic now explicitly looks for such attempts and rejects the content. * Fixes a bug where ironic allowed the ability for operators to send raw commands when the "ipmitool" vendor interface was enabled and configured for a baremetal node utilizing the IPMI protocol. The Ironic project generally recommends the use of "redfish" instead of IPMI, however recognizes that is not universally possible for all operators. More information can be found in bug 2150458 (https://bugs.launchpad.net/ironic/+bug/2150458). * Fixes security issue identified in bug 2148307 (https://bugs.launchpad.net/ironic/+bug/2148307) where users of the anaconda deployment interface could supply a malicious template. The conductor process now sandboxes all jinja2 rendering operations. * Fixes an issue in the url handling logic of instance deploy logic where file paths validity was not checked upfront, and the conductor service would directly begin calculating checksums. This highlighted a DoS issue where an attacker could exhaust conductor threads by attempting to request, "file:///dev/zero", which would never return the thread. This is because file URLs don't require downloading first, and validity checking logic was all in the file access logic, not checksum logic. Ironic now explicitly invokes the URL/validity checking logic prior to calling the checksum logic which effectively prevents this issue. This issue is tracked as CVE-2026-44919. * Fixes a vulnerability where security proxy could be crashed if the VNC server sends unreasonable large reason length. The security proxy is shared between all tenants, so crashing the proxy denies console access for all tenants. More information in the bug description bug 2155052 (https://bugs.launchpad.net/ironic/+bug/2155052). * Fixes a vulnerability (CVE-2026-44917) which was identified inhandling of pxe_template overrides where an authenticated and authorized user could request an override template via direct file path which would bypass file URL handling guards introduced in OSSA-2025-001. This feature was minimally documented through only a release note, and does not appear to have actual use. This functionality is being disabled by default, and will be promptly removed from Ironic's current development branch. * Neutron port operations now always use service credentials from config, rather than the user's token context. This prevents ports being created with an unexpected project id (e.g. the project id of the user's context). * The "PATCH" endpoint for volume targets now applies the "baremetal:volume:view_target_properties" RBAC policy check to its response payload, consistent with the "GET" endpoints. Additionally, the "properties" field is now scrubbed using "mask_dict_password" to mask any password-like keys, providing defense-in-depth independent of RBAC policy enforcement. Changes in ironic 29.0.5..29.0.6 -------------------------------- 17d566791 Use service auth for Neutron port operations 54e4cf7a4 CVE-2026-44918: Prevent rehoming resources to nodes with different owner dd8c84f51 security: block vendor.send_raw (CVE-2026-54423) 4d5a3da4f Fix bootfile_name_by_arch to consider boot mode c5f2ced12 Add operator-configurable step disallow lists 416ebf2bd Add an agent flag to disable installing boatloaders 7c00fdb88 Fix kernel parameter parsing for quoted values and whitespace 49bff4c09 Security: Fix sensitive properties returned on volume targets 0768080c5 Set bound for failure reason from RFB 769bcc2e4 security: disable driver_info level pxe_template override fbe121c2a security: directory transversal ISO9660 support d94a1990f Ensure kernel_append_params are valid kernel parameters 607c5f734 [stable-only][ci] Remove non-voting, obsolete jobs 97f75b2e7 security: move file url validation up into deploy_utils main path 8e54f49f9 security: Use sandbox rendering for jinja2 Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 9 +- LICENSE | 2 + ironic/api/controllers/v1/node.py | 54 +- ironic/api/controllers/v1/port.py | 18 +- ironic/api/controllers/v1/portgroup.py | 21 +- ironic/api/controllers/v1/ramdisk.py | 1 + ironic/api/controllers/v1/utils.py | 76 +- ironic/api/controllers/v1/volume_connector.py | 21 +- ironic/api/controllers/v1/volume_target.py | 51 +- ironic/cmd/status.py | 37 + ironic/common/exception.py | 13 + ironic/common/image_service.py | 3 +- ironic/common/images.py | 11 +- ironic/common/kernel_parameter_parser/__init__.py | 0 ironic/common/kernel_parameter_parser/grammar.g | 44 + .../kernel_parameter_parser.py | 3572 ++++++++++++++++++++ ironic/common/kernel_parameters.py | 158 + ironic/common/kickstart_utils.py | 5 + ironic/common/neutron.py | 4 +- ironic/common/pxe_utils.py | 2 + ironic/common/utils.py | 42 +- ironic/conductor/manager.py | 28 +- ironic/conductor/steps.py | 58 +- ironic/conf/agent.py | 8 + ironic/conf/api.py | 71 + ironic/conf/conductor.py | 12 + ironic/conf/pxe.py | 23 +- ironic/console/securityproxy/rfb.py | 9 +- ironic/drivers/modules/deploy_utils.py | 84 +- ironic/drivers/utils.py | 22 +- .../unit/api/controllers/v1/test_volume_target.py | 166 + .../unit/drivers/modules/test_deploy_utils.py | 162 +- .../notes/2150450-owners-b4019d5fa63a8bc1.yaml | 21 + ...h-boot-mode-composite-key-2b0a10764f3b71a9.yaml | 13 + .../notes/bug-2148333-b3a74b813eea7dab.yaml | 17 + ...ng-bootloaders-by-default-4a3c69777069587c.yaml | 11 + .../notes/disable_send_raw-f92217bf07c3eb38.yaml | 20 + .../notes/fix-bug-2148307-ddf0b4d69244e86e.yaml | 8 + .../fix-file-url-validation-5fb819ef5ae74ddc.yaml | 15 + ...-text-resource-exhaustion-5fc9485d9b0d6698.yaml | 19 + ...tize-kernel-append-params-8b2953a9d903d0f6.yaml | 14 + .../security-bug-2148319-49974afdcd38d9c0.yaml | 28 + ...r-neutron-port-operations-03c8349ee5c06e3b.yaml | 6 + ...dact-sensitive-properties-041818005cac008f.yaml | 21 + tox.ini | 2 +- zuul.d/project.yaml | 65 - 59 files changed, 6282 insertions(+), 266 deletions(-)
participants (1)
-
no-reply@openstack.org