CVEvulnerability

CVE-2018-17205

7.5 HIGH Published 2018-09-19 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-09-19
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-617

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.

Affected configurations

• openvswitch openvswitch (>= 2.7.0 <= 2.7.6) • redhat openstack 10 • redhat openstack 13 • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04

Related

Weakness · CWE (1)

  • CWE-617 Reachable Assertion weakness

References