CVE Vulnerabilities

CVE-2023-1668

Always-Incorrect Control Flow Implementation

Published: Apr 10, 2023 | Modified: Apr 23, 2025
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Open_vswitchCloudbase1.5.0 (including)2.13.11 (excluding)
Open_vswitchCloudbase2.14.0 (including)2.14.9 (excluding)
Open_vswitchCloudbase2.15.0 (including)2.15.8 (excluding)
Open_vswitchCloudbase2.16.0 (including)2.16.7 (excluding)
Open_vswitchCloudbase2.17.0 (including)2.17.6 (excluding)
Open_vswitchCloudbase3.0.0 (including)3.0.4 (excluding)
Open_vswitchCloudbase3.1.0 (including)3.1.0 (including)
Fast Datapath for Red Hat Enterprise Linux 8RedHatopenvswitch2.17-0:2.17.0-88.el8fdp*
Fast Datapath for Red Hat Enterprise Linux 8RedHatopenvswitch3.1-0:3.1.0-17.el8fdp*
Fast Datapath for Red Hat Enterprise Linux 8RedHatopenvswitch2.13-0:2.13.0-214.el8fdp*
Fast Datapath for Red Hat Enterprise Linux 8RedHatopenvswitch2.15-0:2.15.0-136.el8fdp*
Fast Datapath for Red Hat Enterprise Linux 9RedHatopenvswitch2.17-0:2.17.0-77.el9fdp*
Fast Datapath for Red Hat Enterprise Linux 9RedHatopenvswitch3.1-0:3.1.0-14.el9fdp*
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8RedHatredhat-virtualization-host-0:4.5.3-202306050942_8.6*
OpenvswitchUbuntubionic*
OpenvswitchUbuntudevel*
OpenvswitchUbuntuesm-infra/bionic*
OpenvswitchUbuntuesm-infra/focal*
OpenvswitchUbuntufocal*
OpenvswitchUbuntujammy*
OpenvswitchUbuntukinetic*
OpenvswitchUbuntulunar*
OpenvswitchUbuntumantic*
OpenvswitchUbuntunoble*
OpenvswitchUbuntuoracular*
OpenvswitchUbuntuplucky*
OpenvswitchUbuntuquesting*
OpenvswitchUbuntutrusty*
OpenvswitchUbuntuxenial*

References