Ironic Project Vulnerability Enables Credential Exposure in OCI Registries
A flaw in the Ironic project within the OpenStack framework could allow OCI registries to expose credentials to other systems. Patches are advised to resolve the issue.
Key points
- A flaw in the Ironic project enables OCI registries to expose credentials to other systems.
- The issue occurs when Ironic fetches images from an OCI registry using authentication details.
- The problem affects Ironic versions from 36.0.0 to 39.0.1, from 33.0.0 to 35.2.1, and versions below 32.2.1.
A flaw in the Ironic project, which is part of the OpenStack framework, could enable an OCI registry that requires authentication to expose its credentials to another system. This issue arises when Ironic fetches images from an OCI registry using authentication details. A malicious registry might take advantage of this by redirecting requests or providing pagination links to a different system. The credentials transmitted include the username and password used for HTTP Basic authentication. The problem affects Ironic versions ranging from 36.0.0 to 39.0.1, and from 33.0.0 to 35.2.1, as well as versions earlier than 32.2.1. Two distinct issues contribute to the credential exposure: one involving pagination links and another related to redirects. Ironic checked the secure_cdn_registries list using a substring match, which could mistakenly trust a host like docker.io.example.com as docker.io. The solution involves only trusting exact matches or subdomains of the entries in the secure_cdn_registries list. Pagination links pointing to hosts outside the registry are now blocked unless they are verified as trusted. The recommendation is to install specific updates and restart the ironic-conductor service. Once the updates are applied, the secure_cdn_registries configuration should be examined to confirm that only trusted hosts are included.
What to do
- Install specific updates and restart the `ironic-conductor` service.
- Examine the `secure_cdn_registries` configuration to confirm that only trusted hosts are included.
- Maintain the `permit_fallback_to_http_transport` setting at its default value of `False` until updates are installed.
Original report
“[OSSN-0112] Ironic: OCI Registry Credential Leakage”
Posted by Jay Faulkner on Dec 02 =============================================================================== OSSN-0112: Ironic can leak OCI registry credentials to other hosts (2026-12-02) =============================================================================== Summary ~~~~~~~ When Ironic retrieves ``oci://`` images from a registry that requires authentication, it can send that registr…