CVE Vulnerabilities

CVE-2023-1668

Always-Incorrect Control Flow Implementation

Published: Apr 10, 2023 | Modified: Nov 21, 2024
CVSS 3.x
8.2
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
8.2 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Ubuntu
MEDIUM

A flaw was found in openvswitch (OVS). When processing an IP packet with protocol 0, OVS will install the datapath flow without the action modifying the IP header. This issue results (for both kernel and userspace datapath) in installing a datapath flow matching all IP protocols (nw_proto is wildcarded) for this flow, but with an incorrect action, possibly causing incorrect handling of other IP packets with a != 0 IP protocol that matches this dp flow.

Weakness

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

Affected Software

Name Vendor Start Version End Version
Open_vswitch Cloudbase 1.5.0 (including) 2.13.11 (excluding)
Open_vswitch Cloudbase 2.14.0 (including) 2.14.9 (excluding)
Open_vswitch Cloudbase 2.15.0 (including) 2.15.8 (excluding)
Open_vswitch Cloudbase 2.16.0 (including) 2.16.7 (excluding)
Open_vswitch Cloudbase 2.17.0 (including) 2.17.6 (excluding)
Open_vswitch Cloudbase 3.0.0 (including) 3.0.4 (excluding)
Open_vswitch Cloudbase 3.1.0 (including) 3.1.0 (including)
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.17-0:2.17.0-88.el8fdp *
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch3.1-0:3.1.0-17.el8fdp *
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.13-0:2.13.0-214.el8fdp *
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.15-0:2.15.0-136.el8fdp *
Fast Datapath for Red Hat Enterprise Linux 9 RedHat openvswitch2.17-0:2.17.0-77.el9fdp *
Fast Datapath for Red Hat Enterprise Linux 9 RedHat openvswitch3.1-0:3.1.0-14.el9fdp *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 RedHat redhat-virtualization-host-0:4.5.3-202306050942_8.6 *
Openvswitch Ubuntu bionic *
Openvswitch Ubuntu devel *
Openvswitch Ubuntu focal *
Openvswitch Ubuntu jammy *
Openvswitch Ubuntu kinetic *
Openvswitch Ubuntu lunar *
Openvswitch Ubuntu mantic *
Openvswitch Ubuntu noble *
Openvswitch Ubuntu oracular *
Openvswitch Ubuntu trusty *
Openvswitch Ubuntu xenial *

References