CVE-2018-17205
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.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | openvswitch | Fixed | 2.9.2-0ubuntu0.18.04.3 | UBUNTU-CVE-2018-17205 |
| Ubuntu 16.04 | openvswitch | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | openvswitch | Not affected vulnerable_code_not_present | ||
| Debian 14 | openvswitch | Fixed | 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-1 | DEBIAN-CVE-2018-17205 |
| Debian 13 | openvswitch | Fixed | 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-1 | DEBIAN-CVE-2018-17205 |
| Debian 12 | openvswitch | Fixed | 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-1 | DEBIAN-CVE-2018-17205 |
| Red Hat Enterprise Linux 7 | openvswitch | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-devel | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-ovn-central | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-ovn-common | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-ovn-host | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-ovn-vtep | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | openvswitch-test | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
| Red Hat Enterprise Linux 7 | python-openvswitch | Fixed | 0:2.9.0-70.el7fdp.1 | RHSA-2018:3500 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:0053 (vendor-advisory)
- https://usn.ubuntu.com/3873-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3500 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0081 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2019:0053
- https://usn.ubuntu.com/3873-1/
- https://access.redhat.com/errata/RHSA-2018:3500
- https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6
- https://access.redhat.com/errata/RHSA-2019:0081
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.