Bug 2267840 (CVE-2024-2182) - CVE-2024-2182 ovn: insufficient validation of BFD packets may lead to denial of service
Summary: CVE-2024-2182 ovn: insufficient validation of BFD packets may lead to denial ...
Keywords:
Status: NEW
Alias: CVE-2024-2182
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2269176
Blocks: 2267837
TreeView+ depends on / blocked
 
Reported: 2024-03-05 00:59 UTC by Robb Gatica
Modified: 2024-04-19 01:51 UTC (History)
5 users (show)

Fixed In Version: ovn 22.03.7, ovn 23.03.3, ovn 23.06.3, ovn 23.09.3, ovn 24.03.1
Doc Type: ---
Doc Text:
A flaw was found in the Open Virtual Network (OVN). In OVN clusters where BFD is used between hypervisors for high availability, an attacker can inject specially crafted BFD packets from inside unprivileged workloads, including virtual machines or containers, that can trigger a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-03-05 00:59:43 UTC
Summary: 
An issue was reported concerning the lack of sufficient validation of BFD packets when processed in an Open Virtual Network (OVN) cluster. Specifically, there is a failure to check that BFD traffic is not actually generated by unprivileged cluster workloads (VMs/containers). It can be triggered by crafting and injecting specific BFD packets from inside unprivileged workloads (VMs/containers).

Attack scenario:
In an OVN cluster with at least two nodes (hypervisors) where BFD is used between hypervisors for high availability (a common configuration with RH OpenStack deployments), a VM running in a tenant network can trigger the attack by injecting specific BFD packets that advertise the BFD session as being "down". The source and destination IPs and MACs of these packets can be those of the VM and another VM in the same tenant network. These packets are allowed today because under normal operation it's expected that a VM can access other VMs in the same tenant network. Such packets will bring down the BFD session and will impact traffic forwarding (DoS) between all other tenants in the OVN cluster.

Affected versions:
all current versions of OVN back to 20.03.0. Per the reporter, a fix has been developed and is ready to be applied.

Comment 4 Anten Skrabec 2024-03-12 15:40:08 UTC
Created ovn tracking bugs for this issue:

Affects: fedora-all [bug 2269176]


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