{"answers":{"affected":"7 open source packages ship an affected version, including nova and Nova. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-40767 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-40767 is a medium-severity path traversal vulnerability in n/a, published on 24 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-40767 and fix it if it is affected.\n\nWhat it is: CVE-2024-40767 is a medium-severity path traversal vulnerability in n/a, published on 24 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-40767 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nova (PyPI): affected all versions up to 27.4.0; no fix listed\n- nova (PyPI): affected all versions up to 27.4.0; no fix listed\n- nova (PyPI): affected from 28.0.0 up to 28.2.0; no fix listed\n- nova (PyPI): affected from 29.0.0 up to 29.1.0; no fix listed\n- Nova (PyPI): affected all versions up to 27.4.0; no fix listed\n- Nova (PyPI): affected from 28.0.0 up to 28.2.0; no fix listed\n- Nova (PyPI): affected from 29.0.0 up to 29.1.0; no fix listed\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-40767/ (Markdown: https://insights.sbomify.com/CVE-2024-40767/index.md)","id":"CVE-2024-40767","markdown":"https://insights.sbomify.com/CVE-2024-40767/index.md","name":"CVE-2024-40767","record":{"aliases":["GHSA-rm86-h44c-2r2m","PYSEC-2026-1709","RHSA-2024:5083","RHSA-2024:5097","RHSA-2024:5113","UBUNTU-CVE-2024-40767","USN-6911-1"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Nova","requires_auth":"low_privilege","summary":"An authenticated user can read arbitrary server files by uploading crafted images with backing file paths in OpenStack Nova.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nova","vendor":"openstack"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"In OpenStack Nova before 27.4.1, 28 before 28.2.1, and 29 before 29.1.1, by supplying a raw format image that is actually a crafted QCOW2 image with a backing file path or VMDK flat image with a descriptor file path, an authenticated user may convince systems to return a copy of the referenced file's contents from the server, resulting in unauthorized access to potentially sensitive data. All Nova deployments are affected. NOTE: this issue exists because of an incomplete fix for CVE-2022-47951 and CVE-2024-32498.","ecosystems":["PyPI","Red Hat:openstack:16.1::el8","Red Hat:openstack:16.2::el8","Red Hat:openstack:17.1::el9"],"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 Nova vulnerable to unauthorized access to potentially sensitive data","id":"CVE-2024-40767","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":42,"n_references":4,"next":{"headline":"Privilege escalation in macOS","id":"CVE-2024-40770"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["27.4.0"],"package":"Nova","purl":null,"source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["28.0.0"],"last_affected":["28.2.0"],"package":"Nova","purl":null,"source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["29.0.0"],"last_affected":["29.1.0"],"package":"Nova","purl":null,"source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0","28.0.0","29.0.0"],"last_affected":["27.4.0","28.2.0","29.1.0"],"package":"nova","purl":"pkg:pypi/nova","source":"PYSEC-2026-1709"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["27.4.0"],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["28.0.0"],"last_affected":["28.2.0"],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["29.0.0"],"last_affected":["29.1.0"],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-rm86-h44c-2r2m"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-spicehtml5proxy","purl":"pkg:rpm/redhat/openstack-nova-spicehtml5proxy","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193235.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-nova","purl":"pkg:rpm/redhat/python3-nova","source":"RHSA-2024:5113"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-spicehtml5proxy","purl":"pkg:rpm/redhat/openstack-nova-spicehtml5proxy","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20230814165229.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-nova","purl":"pkg:rpm/redhat/python3-nova","source":"RHSA-2024:5097"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2024:5083"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["1:23.2.3-17.1.20231018130829.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2024:5083"}],"prev":{"headline":"SonicWall SonicOS Improper Access Control","id":"CVE-2024-40766"},"products":["n/a"],"published":"2024-07-24","related":[{"cvss_score":9.8,"headline":"OpenStack Nova logs sensitive context from notification exceptions","id":"CVE-2017-7214","kev_date_added":null,"published":"2017-03-21"},{"cvss_score":8.6,"headline":"OpenStack Nova DoS by rebuilding the same instance with a new image multiple times","id":"CVE-2017-17051","kev_date_added":null,"published":"2017-12-05"},{"cvss_score":8.3,"headline":"OpenStack Nova Live migration fails to update persistent domain XML","id":"CVE-2020-17376","kev_date_added":null,"published":"2020-08-26"},{"cvss_score":7.5,"headline":"OpenStack Nova Denial of service attack on the compute host","id":"CVE-2017-18191","kev_date_added":null,"published":"2018-02-19"},{"cvss_score":6.8,"headline":"OpenStack Compute (nova) allows remote authenticated users to cause a denial of service","id":"CVE-2015-3280","kev_date_added":null,"published":"2015-10-26"},{"cvss_score":6.8,"headline":"OpenStack Nova instance migration process does not stop when instance is deleted","id":"CVE-2015-3241","kev_date_added":null,"published":"2015-09-08"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"An authenticated user can read arbitrary server files by uploading crafted images with backing file paths in OpenStack Nova.","url":"https://insights.sbomify.com/CVE-2024-40767/"}