Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ironic
  4. ›
  5. CVE-2025-44021

CVE-2025-44021: OpenStack Ironic fails to restrict paths used for file:// image URLs

May 8, 2025

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.

References

  • bugs.launchpad.net/ironic/+bug/2107847
  • github.com/advisories/GHSA-q3m2-crgq-5p3q
  • github.com/openstack/ironic
  • github.com/openstack/ironic/commit/10590b36f541130f6a5d7a49da0f095ff8390cce
  • nvd.nist.gov/vuln/detail/CVE-2025-44021
  • security.openstack.org/ossa/OSSA-2025-001.html

Code Behaviors & Features

Detect and mitigate CVE-2025-44021 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 24.1.3, all versions starting from 25.0.0 before 26.1.1, all versions starting from 27.0.0 before 29.0.1

Fixed versions

  • 24.1.3
  • 26.1.1
  • 29.0.1

Solution

Upgrade to versions 24.1.3, 26.1.1, 29.0.1 or above.

Impact 2.8 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/ironic/CVE-2025-44021.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 12:14:27 +0000.