CVE-2017-5936: Nova lxd OpenStack Nova-LXD Bypass Security Restrictions Vulnerability

HIGH
Advisory Identifier: GHSA-6xc7-4cx8-j3xc
CVSS 7.5
Published
Advisory Summary

CVE-2017-5936 is a HIGH (CVSS 7.5) openstack nova-lxd bypass security restrictions vulnerability (General Security Weakness) affecting Nova lxd libraries in the PyPI ecosystem. The issue involves openstack nova-lxd bypass security restrictions. Remediation is available by upgrading affected packages to version 13.1.1.

CVE-2017-5936 at a Glance

CVE Identifier CVE-2017-5936
GHSA Identifier GHSA-6xc7-4cx8-j3xc
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Nova lxd
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:H/A:N).

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 High (I:H)
Availability None (A:N)

How to Fix CVE-2017-5936

To remediate this vulnerability, upgrade all affected Nova lxd 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-lxd fixed: 13.1.1
pip install nova-lxd>=13.1.1
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-lxd

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2017-5936, inspect your installed packages using pip:

pip show nova-lxd

Analyze the terminal output to locate any version of Nova lxd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.1.1), your application is affected.

Note: The pip show nova-lxd 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 lxd, 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

OpenStack Nova-LXD before 13.1.1 uses the wrong name for the veth pairs when applying Neutron security group rules for instances, which allows remote attackers to bypass intended security restrictions.

CVE-2017-5936 Affected Nova lxd Versions

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

References

Frequently Asked Questions

What is CVE-2017-5936?
CVE-2017-5936 is a security vulnerability in Nova lxd involving OpenStack Nova-LXD bypass security restrictions under General Security Weakness.
Which Nova lxd versions are affected?
Affected versions include releases prior to 13.1.1 across affected packages: nova-lxd.
What version fixes CVE-2017-5936?
Upgrading to 13.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nova-lxd affected?
Yes, nova-lxd is affected in releases prior to 13.1.1. Upgrade your dependency to 13.1.1 or later.
What is the CVSS score of CVE-2017-5936?
CVE-2017-5936 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:H/A:N.
What CWE is associated with CVE-2017-5936?
CVE-2017-5936 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2017-5936?
Run the dependency tree command: 'pip show nova-lxd'. 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-6xc7-4cx8-j3xc",
  "modified" : "2024-10-07T16:00:20Z",
  "published" : "2022-05-13T01:46:20Z",
  "aliases" : [ "CVE-2017-5936" ],
  "summary" : "OpenStack Nova-LXD bypass security restrictions",
  "details" : "OpenStack Nova-LXD before 13.1.1 uses the wrong name for the veth pairs when applying Neutron security group rules for instances, which allows remote attackers to bypass intended security restrictions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "nova-lxd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "13.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5936"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/nova-lxd/commit/1b76cefb92081efa1e88cd8f330253f857028bd2"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/nova-lxd/+bug/1656847"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/nova-lxd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova-lxd/PYSEC-2017-21.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200227193915/http://www.securityfocus.com/bid/96182"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2017/02/09/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-3195-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T14:25:02Z",
    "nvd_published_at" : "2017-04-12T22:59:00Z"
  }
}