# CVE-2017-7543: OpenStack Neutron Race Condition vulnerability

> A race condition during updates disables Neutron security groups, allowing attackers to access exposed tenant VMs and network resources.

- **Severity:** Medium 5.3 (`CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 26 Jul 2018
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-hvxr-2fvv-c3wq, PYSEC-2026-686, RHSA-2017:2447, RHSA-2017:2448, RHSA-2017:2449, RHSA-2017:2450, RHSA-2017:2451, RHSA-2017:2452

## What is CVE-2017-7543?

CVE-2017-7543 is a medium-severity vulnerability in Redhat Openstack, published on 26 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

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.

Weakness: CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization)

## Which versions are affected by CVE-2017-7543?

9 open source packages ship an affected version, including neutron. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `neutron` | PyPI | All versions | 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1 |
| `neutron` | PyPI | All versions | 7.2.0-12.1 |
| `neutron` | PyPI | All versions | 7.2.0-12.1 |
| `neutron` | PyPI | From 10.0.0 | 10.0.2-1.1 |
| `neutron` | PyPI | From 10.0.0 | 10.0.2-1.1 |
| `neutron` | PyPI | From 8.0.0 | 8.3.0-11.1 |
| `neutron` | PyPI | From 8.0.0 | 8.3.0-11.1 |
| `neutron` | PyPI | From 9.0.0 | 9.3.1-2.1 |
| `neutron` | PyPI | From 9.0.0 | 9.3.1-2.1 |
| `openstack-neutron` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-common` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-linuxbridge` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-macvtap-agent` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-metering-agent` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-ml2` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-openvswitch` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-rpc-server` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron-sriov-nic-agent` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `python-neutron` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `python-neutron-tests` | Red Hat:openstack:10::el7 | All versions | 1:9.3.1-2.1.el7ost |
| `openstack-neutron` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-common` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-linuxbridge` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-macvtap-agent` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-metering-agent` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-ml2` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-openvswitch` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-rpc-server` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron-sriov-nic-agent` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `python-neutron` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `python-neutron-tests` | Red Hat:openstack:11::el7 | All versions | 1:10.0.2-1.1.el7ost |
| `openstack-neutron` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-bigswitch` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-brocade` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-cisco` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-common` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-embrane` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-hyperv` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-ibm` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |
| `openstack-neutron-linuxbridge` | Red Hat:openstack:6::el7 | All versions | 0:2014.2.3-42.el7ost |

Products: Openstack Neutron, Redhat Openstack.

## How do I fix CVE-2017-7543?

Upgrade neutron to a fixed version for your release line: 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1 or 10.0.2-1.1.

## Is CVE-2017-7543 being exploited?

There is no known exploitation of CVE-2017-7543 in the wild and no public exploit code.

## Other vulnerabilities in Redhat Openstack

- [CVE-2021-38598](https://insights.sbomify.com/CVE-2021-38598/): OpenStack Neutron vulnerable to hardware address impersonation (critical 9.1)
- [CVE-2015-8914](https://insights.sbomify.com/CVE-2015-8914/): OpenStack Neutron allows remote attackers to bypass an intended ICMPv6-spoofing protection mechanism (critical 9.1)
- [CVE-2016-5362](https://insights.sbomify.com/CVE-2016-5362/): OpenStack Neutron allows remote attackers to bypass an intended DHCP-spoofing protection mechanism (high 8.2)
- [CVE-2016-5363](https://insights.sbomify.com/CVE-2016-5363/): OpenStack Neutron Intended MAC-spoofing protection mechanism bypass (high 8.2)
- [CVE-2014-3632](https://insights.sbomify.com/CVE-2014-3632/): Privilege escalation in n/a (high 7.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-7543 and fix it if it is affected.

What it is: CVE-2017-7543 is a medium-severity vulnerability in Redhat Openstack, published on 26 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2017-7543 in the wild and no public exploit code.

Affected packages and fixed versions:
- neutron (PyPI): affected all versions; fixed in 7.2.0-12.1, 8.3.0-11.1, 9.3.1-2.1, 10.0.2-1.1
- neutron (PyPI): affected all versions; fixed in 7.2.0-12.1
- neutron (PyPI): affected all versions; fixed in 7.2.0-12.1
- neutron (PyPI): affected from 10.0.0; fixed in 10.0.2-1.1
- neutron (PyPI): affected from 10.0.0; fixed in 10.0.2-1.1
- neutron (PyPI): affected from 8.0.0; fixed in 8.3.0-11.1
- neutron (PyPI): affected from 8.0.0; fixed in 8.3.0-11.1
- neutron (PyPI): affected from 9.0.0; fixed in 9.3.1-2.1
- neutron (PyPI): affected from 9.0.0; fixed in 9.3.1-2.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-7543/ (Markdown: https://insights.sbomify.com/CVE-2017-7543/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-7543
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-7543
- OSV: https://osv.dev/vulnerability/CVE-2017-7543

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-7543/
Summaries are generated and may contain mistakes; the official description above is the record.
