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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openvswitch:openvswitch:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

History

21 Nov 2024, 03:54

Type Values Removed Values Added
References () https://access.redhat.com/errata/RHSA-2018:3500 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:3500 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2019:0053 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2019:0053 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2019:0081 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2019:0081 - Third Party Advisory
References () https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6 - Exploit, Patch, Third Party Advisory () https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6 - Exploit, Patch, Third Party Advisory
References () https://usn.ubuntu.com/3873-1/ - Third Party Advisory () https://usn.ubuntu.com/3873-1/ - Third Party Advisory

Information

Published : 2018-09-19 16:29

Updated : 2024-11-21 03:54


NVD link : CVE-2018-17205

Mitre link : CVE-2018-17205

CVE.ORG link : CVE-2018-17205


JSON object : View

Products Affected

canonical

  • ubuntu_linux

redhat

  • openstack

openvswitch

  • openvswitch
CWE
CWE-617

Reachable Assertion