# CVE-2018-17205: openvswitch-common: An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ in ofproto/ofproto.c

CVE-2018-17205 is fixed in 14 products on 1 platform, first by openvswitch-common 2.9.2-0ubuntu0.18.04.3, released September 18, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-17205
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0253
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 18, 2018

## Description

An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ in ofproto/ofproto.c. During bundle commit, flows that are added in a bundle are applied to ofproto in order. If a flow cannot be added (e.g., the flow action is a go-to for a group id that does not exist), OvS tries to revert back all previous flows that were successfully applied from the same bundle. This is possible since OvS maintains list of old flows that were replaced by flows from the bundle. While reinserting old flows, OvS has an assertion failure due to a check on rule state != RULE_INITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | openvswitch-common Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-common 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-common-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-pki Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-pki 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-pki-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-switch Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-switch 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-switch-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-switch-dpdk Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-switch-dpdk 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-switch-dpdk-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-test Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-test 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-test-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-testcontroller Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-testcontroller 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-testcontroller-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | openvswitch-vtep Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [openvswitch-vtep 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openvswitch-vtep-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | ovn-central Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [ovn-central 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovn-central-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | ovn-common Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [ovn-common 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovn-common-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | ovn-controller-vtep Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [ovn-controller-vtep 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovn-controller-vtep-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | ovn-docker Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [ovn-docker 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovn-docker-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | ovn-host Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [ovn-host 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ovn-host-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | python-openvswitch Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [python-openvswitch 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-openvswitch-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |
| Linux | python3-openvswitch Ubuntu 18.04.6 LTS (bionic) | 2.9.2-0ubuntu0.18.04.3 | [python3-openvswitch 2.9.2-0ubuntu0.18.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-openvswitch-2.9.2-0ubuntu0.18.04.3.md) | Sep 18, 2018 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
