{"answers":{"affected":"9 open source packages ship an affected version, including magnum. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-28718 in the wild and no public exploit code.","fix":"Upgrade magnum to a fixed version for your release line: 14.1.2, 15.0.2, 16.0.2 or 17.0.2.","what":"CVE-2024-28718 is a critical vulnerability in n/a, published on 12 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-28718 and fix it if it is affected.\n\nWhat it is: CVE-2024-28718 is a critical vulnerability in n/a, published on 12 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-28718 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- magnum (PyPI): affected all versions; fixed in 14.1.2, 15.0.2, 16.0.2, 17.0.2\n- magnum (PyPI): affected all versions; fixed in 14.1.2\n- magnum (PyPI): affected all versions; fixed in 14.1.2\n- magnum (PyPI): affected from 15.0.0.0rc1; fixed in 15.0.2\n- magnum (PyPI): affected from 15.0.0.0rc1; fixed in 15.0.2\n- magnum (PyPI): affected from 16.0.0.0rc1; fixed in 16.0.2\n- magnum (PyPI): affected from 16.0.0.0rc1; fixed in 16.0.2\n- magnum (PyPI): affected from 17.0.0.0rc1; fixed in 17.0.2\n- magnum (PyPI): affected from 17.0.0.0rc1; fixed in 17.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28718/ (Markdown: https://insights.sbomify.com/CVE-2024-28718/index.md)","id":"CVE-2024-28718","markdown":"https://insights.sbomify.com/CVE-2024-28718/index.md","name":"CVE-2024-28718","record":{"aliases":["GHSA-jx7x-9r98-h5xr","PYSEC-2026-1602","UBUNTU-CVE-2024-28718"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Magnum","requires_auth":"none","summary":"A race condition in OpenStack Magnum allows remote attackers to execute arbitrary code via the cert_manager component.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"magnum","vendor":"openstack"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"An issue in OpenStack magnum yoga-eom version allows a remote attacker to execute arbitrary code via the cert_manager.py. component.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenStack magnum vulnerable to time-of-check to time-of-use (TOCTOU) attack","id":"CVE-2024-28718","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":9,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-28722"},"packages":[{"ecosystem":"PyPI","fixed":["14.1.2","15.0.2","16.0.2","17.0.2"],"introduced":["0","15.0.0.0rc1","16.0.0.0rc1","17.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":"pkg:pypi/magnum","source":"PYSEC-2026-1602"},{"ecosystem":"PyPI","fixed":["14.1.2"],"introduced":["0"],"last_affected":[],"package":"magnum","purl":null,"source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["14.1.2"],"introduced":["0"],"last_affected":[],"package":"magnum","purl":"pkg:pypi/magnum","source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["15.0.2"],"introduced":["15.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":null,"source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["15.0.2"],"introduced":["15.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":"pkg:pypi/magnum","source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["16.0.2"],"introduced":["16.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":null,"source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["16.0.2"],"introduced":["16.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":"pkg:pypi/magnum","source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["17.0.2"],"introduced":["17.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":null,"source":"GHSA-jx7x-9r98-h5xr"},{"ecosystem":"PyPI","fixed":["17.0.2"],"introduced":["17.0.0.0rc1"],"last_affected":[],"package":"magnum","purl":"pkg:pypi/magnum","source":"GHSA-jx7x-9r98-h5xr"}],"prev":{"headline":"OpenStack Storlets arbitrary code execution vulnerability","id":"CVE-2024-28717"},"products":["n/a"],"published":"2024-04-12","related":[{"cvss_score":9.8,"headline":"Openstack Magnum Unsafe Credential Handling","id":"CVE-2016-7404","kev_date_added":null,"published":"2019-06-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-15","vendors":["n/a"]},"summary":"A race condition in OpenStack Magnum allows remote attackers to execute arbitrary code via the cert_manager component.","url":"https://insights.sbomify.com/CVE-2024-28718/"}