CVE-2017-18191: Nova Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-ffmh-r67w-m88f
CVSS 7.5
Published
Advisory Summary

CVE-2017-18191 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova denial of service attack on the compute host. Remediation is available by upgrading affected packages to version 15.1.1, 16.1.2.

CVE-2017-18191 at a Glance

CVE Identifier CVE-2017-18191
GHSA Identifier GHSA-ffmh-r67w-m88f
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:U/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 Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2017-18191

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: 15.1.1
pip install nova>=15.1.1
nova fixed: 16.1.2
pip install nova>=16.1.2
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-18191, 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 15.1.1), 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 General Security Weakness. 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 OpenStack Nova 15.x through 15.1.0 and 16.x through 16.1.1. By detaching and reattaching an encrypted volume, an attacker may access the underlying raw volume and corrupt the LUKS header, resulting in a denial of service attack on the compute host. (The same code error also results in data loss, but that is not a vulnerability because the user loses their own data.) All Nova setups supporting encrypted volumes are affected.

CVE-2017-18191 Affected Nova Versions

2 component(s)
Fixed Versions:
15.1.116.1.2
Product / Package Ecosystem Affected Versions Fixed Version
nova
PyPI
≥ 15.0.0
< 15.1.1
15.1.1
nova
PyPI
≥ 16.0.0
< 16.1.2
16.1.2

References

Frequently Asked Questions

What is CVE-2017-18191?
CVE-2017-18191 is a security vulnerability in Nova involving OpenStack Nova Denial of service attack on the compute host under General Security Weakness.
Which Nova versions are affected?
Affected versions include releases prior to 15.1.1, 16.1.2 across affected packages: nova.
What version fixes CVE-2017-18191?
Upgrading to 15.1.1, 16.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nova affected?
Yes, nova is affected in releases prior to 15.1.1, 16.1.2. Upgrade your dependency to 15.1.1, 16.1.2 or later.
What is the CVSS score of CVE-2017-18191?
CVE-2017-18191 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-18191?
CVE-2017-18191 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2017-18191?
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-ffmh-r67w-m88f",
  "modified" : "2024-05-14T20:53:44Z",
  "published" : "2022-05-13T01:44:36Z",
  "aliases" : [ "CVE-2017-18191" ],
  "summary" : "OpenStack Nova Denial of service attack on the compute host",
  "details" : "An issue was discovered in OpenStack Nova 15.x through 15.1.0 and 16.x through 16.1.1. By detaching and reattaching an encrypted volume, an attacker may access the underlying raw volume and corrupt the LUKS header, resulting in a denial of service attack on the compute host. (The same code error also results in data loss, but that is not a vulnerability because the user loses their own data.) All Nova setups supporting encrypted volumes are affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "15.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0"
      }, {
        "fixed" : "16.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-18191"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/0225a61fc4557c1257383a654f0741f7ef2ddeac"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/5b64a1936122eeb35f37a09f9d38159e1a224c58"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/cd3eb60c2c00bcccfa9ccd4bf9d1a96ae7a5cd88"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2332"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2714"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2855"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/bugs/1739593"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/539893"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2018-001.html"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2018/04/20/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/103104"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T20:53:44Z",
    "nvd_published_at" : "2018-02-19T17:29:00Z"
  }
}