CVE-2017-7543: Neutron OpenStack Neutron Race Condition Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-hvxr-2fvv-c3wq
CVSS 5.9
CWE-362
Published
Advisory Summary

CVE-2017-7543 is a MODERATE (CVSS 5.9) openstack neutron race condition vulnerability vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Neutron libraries in the PyPI ecosystem. The issue involves openstack neutron race condition vulnerability. Remediation is available by upgrading affected packages to version 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1.

CVE-2017-7543 at a Glance

CVE Identifier CVE-2017-7543
GHSA Identifier GHSA-hvxr-2fvv-c3wq
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Neutron
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.9

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

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

How to Fix CVE-2017-7543

To remediate this vulnerability, upgrade all affected Neutron dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

neutron fixed: 7.2.0-12.1
pip install neutron>=7.2.0-12.1
neutron fixed: 8.3.0-11.1
pip install neutron>=8.3.0-11.1
neutron fixed: 9.3.1-2.1
pip install neutron>=9.3.1-2.1
neutron fixed: 10.0.2-1.1
pip install neutron>=10.0.2-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 neutron

How to Check if You Are Affected

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

pip show neutron

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

Note: The pip show neutron command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Neutron, 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

A race-condition flaw was discovered in openstack-neutron before 7.2.0-12.1, 8.x before 8.3.0-11.1, 9.x before 9.3.1-2.1, and 10.x before 10.0.2-1.1, where, following a minor overcloud update, neutron security groups were disabled. Specifically, the following were reset to 0: net.bridge.bridge-nf-call-ip6tables and net.bridge.bridge-nf-call-iptables. The race was only triggered by an update, at which point an attacker could access exposed tenant VMs and network resources.

CVE-2017-7543 Affected Neutron Versions

4 component(s)
Fixed Versions:
7.2.0-12.18.3.0-11.19.3.1-2.110.0.2-1.1
Product / Package Ecosystem Affected Versions Fixed Version
neutron
PyPI
< 7.2.0-12.1
7.2.0-12.1
neutron
PyPI
≥ 8.0.0
< 8.3.0-11.1
8.3.0-11.1
neutron
PyPI
≥ 9.0.0
< 9.3.1-2.1
9.3.1-2.1
neutron
PyPI
≥ 10.0.0
< 10.0.2-1.1
10.0.2-1.1

References

Frequently Asked Questions

What is CVE-2017-7543?
CVE-2017-7543 is a security vulnerability in Neutron involving OpenStack Neutron Race Condition vulnerability under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Neutron versions are affected?
Affected versions include releases prior to 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1 across affected packages: neutron.
What version fixes CVE-2017-7543?
Upgrading to 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is neutron affected?
Yes, neutron is affected in releases prior to 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1. Upgrade your dependency to 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1 or later.
What is the CVSS score of CVE-2017-7543?
CVE-2017-7543 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-7543?
CVE-2017-7543 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check PyPI dependencies for CVE-2017-7543?
Run the dependency tree command: 'pip show neutron'. 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-hvxr-2fvv-c3wq",
  "modified" : "2023-02-08T18:10:02Z",
  "published" : "2022-05-13T01:07:31Z",
  "aliases" : [ "CVE-2017-7543" ],
  "summary" : "OpenStack Neutron Race Condition vulnerability",
  "details" : "A race-condition flaw was discovered in openstack-neutron before 7.2.0-12.1, 8.x before 8.3.0-11.1, 9.x before 9.3.1-2.1, and 10.x before 10.0.2-1.1, where, following a minor overcloud update, neutron security groups were disabled. Specifically, the following were reset to 0: net.bridge.bridge-nf-call-ip6tables and net.bridge.bridge-nf-call-iptables. The race was only triggered by an update, at which point an attacker could access exposed tenant VMs and network resources.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "neutron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.2.0-12.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "neutron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.3.0-11.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "neutron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.3.1-2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "neutron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.0.2-1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7543"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2447"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2448"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2449"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2450"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2451"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2452"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2017-7543"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1473792"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7543"
  }, {
    "type" : "PACKAGE",
    "url" : "https://opendev.org/openstack/neutron"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200227153412/https://www.securityfocus.com/bid/100237"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T18:10:02Z",
    "nvd_published_at" : "2018-07-26T14:29:00Z"
  }
}