openstack/ironic · Security
OpenStack Ironic fails to restrict paths used for file:// image URLs
- GHSA ID
- GHSA-q3m2-crgq-5p3q
- CVE ID
- CVE-2025-44021
- Severity
- low
- Published
- Updated
- CVSS
- 2.8 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
- CVSS v3
- 2.8 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
Description
OpenStack Ironic before 29.0.1 can write unintended files to a target node disk during image handling (if a deployment was performed via the API). A malicious project assigned as a node owner can provide a path to any local file (readable by ironic-conductor), which may then be written to the target node disk. This is difficult to exploit in practice, because a node deployed in this manner should never reach the ACTIVE state, but it still represents a danger in environments running with non-default, insecure configurations such as with automated cleaning disabled. The fixed versions are 24.1.3, 26.1.1, and 29.0.1.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-44021 ↗
- https://bugs.launchpad.net/ironic/+bug/2107847 ↗
- https://security.openstack.org/ossa/OSSA-2025-001.html ↗
- https://github.com/openstack/ironic/commit/10590b36f541130f6a5d7a49da0f095ff8390cce ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/ironic/PYSEC-2025-38.yaml ↗
- http://www.openwall.com/lists/oss-security/2025/05/08/1 ↗
- https://github.com/advisories/GHSA-q3m2-crgq-5p3q ↗