Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 6 Apr 2023 19:37:53 +0200
From: Ilya Maximets <>
 ovs-discuss <>
Cc:, Aaron Conole <>,
 Flavio Leitner <>, David Marchand <>
Subject: [ADVISORY] CVE-2023-1668: Open vSwitch: Remote traffic denial of
 service via crafted packets with IP proto 0


Multiple versions of Open vSwitch are vulnerable to crafted IP packets
with ip proto set to 0 causing a potential denial of service.
Triggering the vulnerability will require an attacker to send a crafted
IP packet with protocol field set to 0 and the flow rules to contain
'set' actions on other fields in the IP protocol header.  The resulting
flows will omit required actions, and fail to mask the IP protocol field,
resulting in a large bucket which captures all IP packets.

All versions of Open vSwitch at least as early as 1.5.0 are affected.

The Common Vulnerabilities and Exposures project ( has
assigned the identifier CVE-2023-1668 to this issue.


For any version of Open vSwitch, preventing packets with network
protocol number '0' from reaching Open vSwitch will prevent the issue.
This is difficult to achieve because Open vSwitch obtains packets before
the iptables or nftables host firewall, so iptables or nftables on the
Open vSwitch host cannot ordinarily block the vulnerability.

Another method would be to add a high priority rule to the flow table
explicitly matching on nw protocol '0' and handling that traffic

    table=0 priority=32768,ip,nw_proto=0,actions=drop
    table=0 priority=32768,ipv6,nw_proto=0,actions=drop
    table=0 priority=32768,arp,arp_op=0,actions=drop

All 3 OpenFlow rules should be added to every OVS bridge.  This can
be difficult to maintain during the service restart.


Patches to fix these vulnerabilities in Open vSwitch 2.13.x and newer:

* 3.1.x:
* 3.0.x:
* 2.17.x:
* 2.16.x:
* 2.15.x:
* 2.14.x:
* 2.13.x:


We recommend that users of Open vSwitch apply the linked patches, or
upgrade to a known patched version of Open vSwitch.  These include:

* 3.1.1
* 3.0.4
* 2.17.6
* 2.16.7
* 2.15.8
* 2.14.9
* 2.13.11


The Open vSwitch team wishes to thank the reporter:

      David Marchand <>
Download attachment "OpenPGP_0xB9F7EC77C829BF96.asc" of type "application/pgp-keys" (4740 bytes)

Download attachment "OpenPGP_signature" of type "application/pgp-signature" (841 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.