Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1632525 - (CVE-2018-17205) CVE-2018-17205 openvswitch: Error during bundle commit in ofproto/ofproto.c:ofproto_rule_insert__() allows for crash
CVE-2018-17205 openvswitch: Error during bundle commit in ofproto/ofproto.c:o...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180925,repor...
: Security
Depends On: 1632526 1633062 1638564 1638565 1638566
Blocks: 1632524
  Show dependency treegraph
 
Reported: 2018-09-24 21:50 EDT by Sam Fowler
Modified: 2018-10-11 19:07 EDT (History)
44 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An issue was discovered in Open vSwitch (OvS), 2.7.x through 2.7.6, 2.8.x through 2.8.4, and 2.9.x through 2.9.2, where the ofproto_rule_insert__() function inside ofproto/ofproto.c is affected by an assertion failure under certain circumstances. A specially crafted flow update applied using the bundling feature of Open vSwitch could potentially cause the assertion failure, potentially leading to incorrect flow information being applied, or a denial of service.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-09-24 21:50:05 EDT
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.


Upstream Patch:

https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6
Comment 1 Sam Fowler 2018-09-24 21:50:47 EDT
Created openvswitch tracking bugs for this issue:

Affects: openstack-rdo [bug 1632526]
Comment 2 James Hebden 2018-09-26 02:50:00 EDT
Adjust scoring given need for elevated privilege in order to work with OVS flows in a way that is useful to triggering this flaw.

RHOSP14 (OVS 2.6.1):
openvswitch:
 - CVE-2018-17205 (not present in ofproto_rule_insert__, ofproto/ofproto.c,)

RHOSP13 (OVS 2.6.1)
openvswitch:
 - CVE-2018-17205 (not present in ofproto_rule_insert__, ofproto/ofproto.c,)
 - Commonly uses FDP version (2.9.0)

RHOSP12 (OVS 2.7.4)
openvswitch:
 - CVE-2018-17205 (not present in ofproto_rule_insert__, ofproto/ofproto.c,)
 - Commonly uses FDP version (2.9.0)

RHOSP10 (OVS 2.6.1)
openvswitch:
 - CVE-2018-17205 (not present in ofproto_rule_insert__, ofproto/ofproto.c,)
 - Commonly uses FDP version (2.9.0)

RHOSP9 (OVS not packaged?)
openvswitch:
 - Repo contains 2.5.0 (Installable after running rhos-release 9, seems to inherit from RHOS7 tag)
 - CVE-2018-17205 (vulnerable code not present, code asserts rule removed, avoiding problematic behaviour)

RHOSP8 (OVS not packaged?)
openvswitch:
 - Repo contains 2.5.0 (Installable after running rhos-release 8, seems to inherit from RHOS7 tag)
 - CVE-2018-17205 (vulnerable code not present, code asserts rule removed, avoiding problematic behaviour)

RHOSP7 ELS (Important only, 2.5.0)
 - CVE-2018-17205 (vulnerable code not present, code asserts rule removed, avoiding problematic behaviour)

Fast Data Path RHEL-7 (2.9.0)
openvswitch:
 - CVE-2018-17205 (vulnerable code present in ofproto_rule_insert__, ofproto/ofproto.c, offset)
openvswitch2.10:
 - CVE-2018-17205 (has been fixed, not vulnerable)

Note You need to log in before you can comment on or make changes to this bug.