{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40585 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40585 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40585 is a high-severity missing authorization vulnerability in metal3-io ironic-image, published on 25 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40585 and fix it if it is affected.\n\nWhat it is: CVE-2023-40585 is a high-severity missing authorization vulnerability in metal3-io ironic-image, published on 25 Aug 2023. 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-2023-40585 in the wild and no public exploit code.\n\nAffected product: metal3-io ironic-image. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2023-40585/ (Markdown: https://insights.sbomify.com/CVE-2023-40585/index.md)","id":"CVE-2023-40585","markdown":"https://insights.sbomify.com/CVE-2023-40585/index.md","name":"CVE-2023-40585","record":{"aliases":["GHSA-jwpr-9fwh-m4g7"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenStack Ironic container","requires_auth":"none","summary":"Unauthenticated access to Ironic API allows attackers to read or modify data if TLS is disabled and services are not split.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ironic-image","vendor":"metal3"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"ironic-image is a container image to run OpenStack Ironic as part of Metal³. Prior to version capm3-v1.4.3, if Ironic is not deployed with TLS and it does not have API and Conductor split into separate services, access to the API is not protected by any authentication. Ironic API is also listening in host network. In case the node is not behind a firewall, the API could be accessed by anyone via network without authentication. By default, Ironic API in Metal3 is protected by TLS and basic authentication, so this vulnerability requires operator to configure API without TLS for it to be vulnerable. TLS and authentication however should not be coupled as they are in versions prior to capm3-v1.4.3. A patch exists in versions capm3-v1.4.3 and newer. Some workarounds are available. Either configure TLS for Ironic API (`deploy.sh -t ...`, `IRONIC_TLS_SETUP=true`) or split Ironic API and Conductor via configuration change (old implementation, not recommended). With both workarounds, services are configured with httpd front-end, which has proper authentication configuration in place.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Unauthenticated access to Ironic API","id":"CVE-2023-40585","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"go package github.com/corazawaf/coraza is vulnerable to denial of service","id":"CVE-2023-40586"},"packages":[],"prev":{"headline":"Denial of Service to Argo CD repo-server","id":"CVE-2023-40584"},"products":["ironic-image"],"published":"2023-08-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["metal3-io"]},"summary":"Unauthenticated access to Ironic API allows attackers to read or modify data if TLS is disabled and services are not split.","url":"https://insights.sbomify.com/CVE-2023-40585/"}