CVE-2018-17205

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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.771

Associated Vulnerability

VulnerabilityOS Platform
Ethernet virtual switch (USN-3873-1) openvswitch-common_2.5.5-0ubuntu0.16.04.2_i386.debLinux
Ethernet virtual switch (USN-3873-1) openvswitch-common_2.5.5-0ubuntu0.16.04.2_amd64.debLinux
Ethernet virtual switch (USN-3873-1) openvswitch-common_2.9.2-0ubuntu0.18.04.3_i386.debLinux
Ethernet virtual switch (USN-3873-1) openvswitch-common_2.9.2-0ubuntu0.18.04.3_amd64.debLinux
SUSE-SU-2018:4128-1(SUSE Linux Enterprise Server 12-SP3 ) openvswitch-2.7.6-3.23.1.x86_64.rpmLinux
SUSE-SU-2018:4128-1(SUSE Linux Enterprise Server 12-SP3 ) openvswitch-debuginfo-2.7.6-3.23.1.x86_64.rpmLinux
SUSE-SU-2018:4128-1(SUSE Linux Enterprise Server 12-SP3 ) openvswitch-debugsource-2.7.6-3.23.1.x86_64.rpmLinux
Reachable Assertion Vulnerability (CVE-2018-17205)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234