CVE-2017-17051: Nova Denial of Service Vulnerability
HIGHCVE-2017-17051 is a HIGH (CVSS 8.6) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova dos by rebuilding the same instance with a new image multiple times. Remediation is available by upgrading affected packages to version 16.0.4.
CVE-2017-17051 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H).
How to Fix CVE-2017-17051
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>=16.0.4
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-2017-17051, 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 16.0.4), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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-2017-17051 Affected Nova Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nova
|
PyPI |
< 16.0.4
|
16.0.4
|
References
Frequently Asked Questions
What is CVE-2017-17051?
Which Nova versions are affected?
What version fixes CVE-2017-17051?
Is nova affected?
What is the CVSS score of CVE-2017-17051?
What CWE is associated with CVE-2017-17051?
How can I check PyPI dependencies for CVE-2017-17051?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vq76-rxx3-4r4r",
"modified" : "2024-05-14T20:53:42Z",
"published" : "2022-05-13T01:44:15Z",
"aliases" : [ "CVE-2017-17051" ],
"summary" : "OpenStack Nova DoS by rebuilding the same instance with a new image multiple times",
"details" : "An issue was discovered in the default FilterScheduler in OpenStack Nova 16.0.3. By repeatedly rebuilding an instance with new images, an authenticated user may consume untracked resources on a hypervisor host leading to a denial of service, aka doubled resource allocations. This regression was introduced with the fix for OSSA-2017-005 (CVE-2017-16239); however, only Nova stable/pike or later deployments with that fix applied and relying on the default FilterScheduler are affected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "16.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-17051"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/25a1d78e83065c5bea5d8e0a017fd9d0914d41d9"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/fed660c1189fdf4159d97badfdc8c5b35ad14f23"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/nova"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/1732976"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/521662"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/523214"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2017-006.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/102102"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T20:53:42Z",
"nvd_published_at" : "2017-12-05T18:29:00Z"
}
}