Dan Smith and Julia Kreger of Red Hat and Jay Faulkner of G-Research noticed a vulnerability in image processing for Ironic, in which a specially crafted image could be used by an authenticated user to exploit undesired behaviors in qemu-img, including possible unauthorized access to potentially sensitive data.
The vulnerability has been assigned CVE-2024-44082.
Similar issues have been found and addressed in other projects of OpenStack before:
In the reference implementation of Sovereign Cloud Stack, Ironic is shipped and thus installations are advised to update the ironic images used.
If the OpenStack Ironic service is not used, it is not necessary to execute these steps.
7.1.3
as usual (detailed instructions in
the Upgrade Guide for the OSISM Manager)osism apply -a pull ironic
osism apply -a upgrade ironic
In release 7.1.3 of OSISM, only the images of the OpenStack Ironic services were rebuilt. It is not necessary to upgrade other OpenStack services after updating the manager.
To our knowledge none of the providers that are using the SCS reference implementation are making use of Ironic and as such are not affected by this vulnerability.
The issue has been reported by Dan Smith, Julia Kreger and Jay Faulkner in private to the OpenStack Vulnerability Management Team. The reporters and upstream developers have worked together to address the issue with fixes and an embargo date has been set to Wednesday, 2024-09-04, 1600 UTC. At this point in time, the patches will get merged and an OpenStack Security Advisory (OSSA-2024-003) will be published. The issue is tracked in OpenStack issue #2071740, which should be publically accessible after the advisory has been published.
Under the used responsible disclosure approach, the information was shared with a select group of trustable users of OpenStack, so they can prepare updates and protect their user data in time for the publication.
The fixed code allows Ironic and the Ironic-Python-Agent (IPA) to pre-screen images before passing them to qemu-img. You should patch both of them because in some popular deployment configurations, it is possible for images to bypass the Ironic conductor for more efficient image downloads. OSISM will publish (SCS R6.1.3) with fixed Ironic components this week.
The authors would like to thank the reporter, the upstream OpenStack developers and the OpenStack Vulnerability Management Team for the responsible reporting, careful analysis, fixing, testing and professional handling of the issue and the OSISM team for additional analysis.
SCS security contact is security@scs.community, as published on https://scs.community/.well-known/security.txt.