CVE-2024-47211: Ironic Remote Code Execution Vulnerability
MODERATECVE-2024-47211 is a MODERATE (CVSS 5.3) remote code execution vulnerability (CWE-354: Improper Validation of Integrity Check Value) affecting Ironic libraries in the PyPI ecosystem. The issue involves openstack ironic fails to verify checksums of supplied image_source urls. Remediation is available by upgrading affected packages to version 26.1.1, 24.1.3, 23.0.3.
CVE-2024-47211 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2024-47211
To remediate this vulnerability, upgrade all affected Ironic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ironic>=26.1.1
pip install ironic>=24.1.3
pip install ironic>=23.0.3
pip install ironic>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ironic
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-47211, inspect your installed packages using pip:
pip show ironic
Analyze the terminal output to locate any version of Ironic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 26.1.1), your application is affected.
Note: The pip show ironic command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-354: Improper Validation of Integrity Check Value, where the product does not validate or incorrectly validates the integrity check values or "checksums" of a message. this may prevent it from detecting if the data has been modified or corrupted in transmission. In Ironic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-47211 Affected Ironic Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ironic
|
PyPI |
≥ 25.0.0
< 26.1.1
|
26.1.1
|
|
ironic
|
PyPI |
≥ 23.1.0
< 24.1.3
|
24.1.3
|
|
ironic
|
PyPI |
≥ 22.0.0
< 23.0.3
|
23.0.3
|
|
ironic
|
PyPI |
≤ 21.4.3
|
|
References
Frequently Asked Questions
What is CVE-2024-47211?
Which Ironic versions are affected?
What version fixes CVE-2024-47211?
Is ironic affected?
What is the CVSS score of CVE-2024-47211?
What CWE is associated with CVE-2024-47211?
How can I check PyPI dependencies for CVE-2024-47211?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8h22-6qwx-q4w9",
"modified" : "2024-11-05T18:34:25Z",
"published" : "2024-10-04T18:31:11Z",
"aliases" : [ "CVE-2024-47211" ],
"summary" : "OpenStack Ironic fails to verify checksums of supplied image_source URLs",
"details" : "In OpenStack Ironic before 21.4.4, 22.x and 23.x before 23.0.3, 23.x and 24.x before 24.1.3, and 25.x and 26.x before 26.1.0, there is a lack of checksum validation of supplied image_source URLs when configured to convert images to a raw format for streaming.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "25.0.0"
}, {
"fixed" : "26.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "23.1.0"
}, {
"fixed" : "24.1.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "22.0.0"
}, {
"fixed" : "23.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ironic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "21.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47211"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/commit/2127cc4c93770778457fde0582c1bba258c67e02"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/commit/7a1292c569a84eb05806a57a89fca5bb6b0c4043"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/commit/ebce0fd0845de411171127a55002ae7c9605de57"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/ironic"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/compare/24.1.2...26.1.0"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/security"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/ironic/tags"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2024-004.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-354" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-04T20:31:16Z",
"nvd_published_at" : "2024-10-04T18:15:08Z"
}
}