CVE-2017-16239: Nova OpenStack Nova Filter Scheduler Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-w2wf-cgwh-vpqg
CVSS 6.5
Published
Advisory Summary

CVE-2017-16239 is a MODERATE (CVSS 6.5) openstack nova filter scheduler bypass vulnerability (General Security Weakness) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova filter scheduler bypass. Remediation is available by upgrading affected packages to version 16.0.3, 15.0.8, 14.0.10.

CVE-2017-16239 at a Glance

CVE Identifier CVE-2017-16239
GHSA Identifier GHSA-w2wf-cgwh-vpqg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification General Security Weakness
Affected Product Nova
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2017-16239

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.3
pip install nova>=16.0.3
nova fixed: 15.0.8
pip install nova>=15.0.8
nova fixed: 14.0.10
pip install nova>=14.0.10
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-16239, 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.3), 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

In OpenStack Nova through 14.0.9, 15.x through 15.0.7, and 16.x through 16.0.2, by rebuilding an instance, an authenticated user may be able to circumvent the Filter Scheduler bypassing imposed filters (for example, the ImagePropertiesFilter or the IsolatedHostsFilter). All setups using Nova Filter Scheduler are affected. Because of the regression described in Launchpad Bug #1732947, the preferred fix is a 14.x version after 14.0.10, a 15.x version after 15.0.8, or a 16.x version after 16.0.3.

CVE-2017-16239 Affected Nova Versions

3 component(s)
Fixed Versions:
16.0.315.0.814.0.10
Product / Package Ecosystem Affected Versions Fixed Version
nova
PyPI
≥ 16.0.0
< 16.0.3
16.0.3
nova
PyPI
≥ 15.0.0
< 15.0.8
15.0.8
nova
PyPI
≥ 14.0.0
< 14.0.10
14.0.10

References

Frequently Asked Questions

What is CVE-2017-16239?
CVE-2017-16239 is a security vulnerability in Nova involving OpenStack Nova Filter Scheduler Bypass under General Security Weakness.
Which Nova versions are affected?
Affected versions include releases prior to 16.0.3, 15.0.8, 14.0.10 across affected packages: nova.
What version fixes CVE-2017-16239?
Upgrading to 16.0.3, 15.0.8, 14.0.10 (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.3, 15.0.8, 14.0.10. Upgrade your dependency to 16.0.3, 15.0.8, 14.0.10 or later.
What is the CVSS score of CVE-2017-16239?
CVE-2017-16239 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2017-16239?
CVE-2017-16239 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2017-16239?
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-w2wf-cgwh-vpqg",
  "modified" : "2024-05-14T20:53:46Z",
  "published" : "2022-05-13T01:44:04Z",
  "aliases" : [ "CVE-2017-16239" ],
  "summary" : "OpenStack Nova Filter Scheduler Bypass",
  "details" : "In OpenStack Nova through 14.0.9, 15.x through 15.0.7, and 16.x through 16.0.2, by rebuilding an instance, an authenticated user may be able to circumvent the Filter Scheduler bypassing imposed filters (for example, the ImagePropertiesFilter or the IsolatedHostsFilter). All setups using Nova Filter Scheduler are affected. Because of the regression described in Launchpad Bug #1732947, the preferred fix is a 14.x version after 14.0.10, a 15.x version after 15.0.8, or a 16.x version after 16.0.3.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0"
      }, {
        "fixed" : "16.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "15.0.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.0.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-16239"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/698b261a5a2a6c0f31ef5059046ef7196d5cba30"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/984dd8ad6add4523d93c7ce5a666a32233e02e34"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/9e2d63da94db63d97bd02e373bfc53d95808b833"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova/commit/b72105c1c49fcddc94992af63fc2f8078023491a"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:0241"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:0314"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:0369"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova"
  }, {
    "type" : "WEB",
    "url" : "https://launchpad.net/bugs/1664931"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2017-005.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2017/dsa-4056"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/101950"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T20:53:46Z",
    "nvd_published_at" : "2017-11-14T17:29:00Z"
  }
}