CVE-2017-17051: Nova Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-vq76-rxx3-4r4r
CVSS 8.6
CWE-400
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2017-17051
GHSA Identifier GHSA-vq76-rxx3-4r4r
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

nova fixed: 16.0.4
pip install nova>=16.0.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2017-17051 Affected Nova Versions

1 component(s)
Fixed Versions:
16.0.4
Product / Package Ecosystem Affected Versions Fixed Version
nova
PyPI
< 16.0.4
16.0.4

References

Frequently Asked Questions

What is CVE-2017-17051?
CVE-2017-17051 is a security vulnerability in Nova involving OpenStack Nova DoS by rebuilding the same instance with a new image multiple times under CWE-400: Uncontrolled Resource Consumption.
Which Nova versions are affected?
Affected versions include releases prior to 16.0.4 across affected packages: nova.
What version fixes CVE-2017-17051?
Upgrading to 16.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nova affected?
Yes, nova is affected in releases prior to 16.0.4. Upgrade your dependency to 16.0.4 or later.
What is the CVSS score of CVE-2017-17051?
CVE-2017-17051 has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2017-17051?
CVE-2017-17051 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check PyPI dependencies for CVE-2017-17051?
Run the dependency tree command: 'pip show nova'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}