CVE-2024-40767: Nova OpenStack Nova Vulnerable To Unauthorized Vulnerability
MODERATECVE-2024-40767 is a MODERATE (CVSS 6.5) openstack nova vulnerable to unauthorized vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova vulnerable to unauthorized access to potentially sensitive data. Remediation is available in the latest vendor maintenance releases.
CVE-2024-40767 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-40767
To remediate this vulnerability, upgrade all affected Nova 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 Nova>=Latest secure release
pip install Nova>=Latest secure release
pip install Nova>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Nova
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-40767, inspect your installed packages using pip:
pip show Nova
Analyze the terminal output to locate any version of Nova in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show Nova command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Nova, 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-40767 Affected Nova Versions
3 component(s)References
Frequently Asked Questions
What is CVE-2024-40767?
Which Nova versions are affected?
What version fixes CVE-2024-40767?
Is Nova affected?
What is the CVSS score of CVE-2024-40767?
What CWE is associated with CVE-2024-40767?
How can I check PyPI dependencies for CVE-2024-40767?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rm86-h44c-2r2m",
"modified" : "2025-11-04T19:49:52Z",
"published" : "2024-07-24T06:31:10Z",
"aliases" : [ "CVE-2024-40767" ],
"summary" : "OpenStack Nova vulnerable to unauthorized access to potentially sensitive data ",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "27.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "28.0.0"
}, {
"last_affected" : "28.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "29.0.0"
}, {
"last_affected" : "29.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-40767"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/nova"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/2071734"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2024/09/msg00017.html"
}, {
"type" : "WEB",
"url" : "https://review.opendev.org/c/openstack/nova/+/924731"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2024-002.html"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2024/07/23/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-436", "CWE-552" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-25T14:27:53Z",
"nvd_published_at" : "2024-07-24T05:15:12Z"
}
}