Integer underflow in Open vSwitch - CVE-2022-4338

 

Integer underflow in Open vSwitch - CVE-2022-4338

Published: December 21, 2022 / Updated: December 21, 2022


Vulnerability identifier: #VU70459
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-4338
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer underflow when parsing Auto Attach TLV. A remote attacker can send specially crafted LLDP messages to the affected system, trigger an integer underflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, by default interfaces are not configured to process LLDP messages.


Affected software

Open vSwitch
Debian Linux
Gentoo Linux
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Package Hub 15
Server Applications Module
Legacy Module
openSUSE Leap
Ubuntu
openEuler
Red Hat OpenShift Container Platform
Red Hat Enterprise Linux Fast Datapath
openvswitch-debuginfo
openvswitch-switch
openvswitch-dpdk-switch-debuginfo
openvswitch-dpdk-debugsource
openvswitch-dpdk-debuginfo
openvswitch-dpdk-switch
openvswitch-switch-debuginfo
openvswitch-debugsource
openvswitch
openvswitch-dpdk
libopenvswitch-2_8-0
libopenvswitch-2_8-0-debuginfo
openvswitch-common (Ubuntu package)
libopenvswitch-2_11-0-debuginfo
libopenvswitch-2_11-0
openvswitch-ovn-common-debuginfo
openvswitch-ovn-host
openvswitch-ovn-common
openvswitch-ovn-central-debuginfo
python3-ovs-debuginfo
openvswitch-ovn-docker
openvswitch-ovn-vtep
openvswitch-ovn-host-debuginfo
openvswitch-ovn-vtep-debuginfo
python2-ovs-debuginfo
python2-ovs
openvswitch-ovn-central
openvswitch-help
openvswitch-devel
python3-openvswitch
openvswitch2.13 (Red Hat package)
libopenvswitch-2_13-0-debuginfo
libopenvswitch-2_13-0
openvswitch-test-debuginfo
python3-ovs
openvswitch-vtep-debuginfo
openvswitch-vtep
openvswitch-pki
openvswitch-ipsec
openvswitch-test
libopenvswitch-2_14-0-debuginfo
libopenvswitch-2_14-0
openvswitch-doc
openvswitch (Debian package)
openvswitch2.15 (Red Hat package)
openvswitch2.16 (Red Hat package)
openvswitch2.17 (Red Hat package)
net-misc/openvswitch
ovn-central
libovn-20_03-0
libovn-20_03-0-debuginfo
ovn-host
ovn-docker
ovn
ovn-devel
ovn-vtep
libovn-20_06-0-debuginfo
ovn-debuginfo
ovn-central-debuginfo
ovn-vtep-debuginfo
ovn-host-debuginfo
libovn-20_06-0
ovn-doc

How to mitigate CVE-2022-4338

Install updates from vendor's website.

Open vSwitch - addressed in versions 2.13.10, 2.14.8, 2.15.7, 2.16.6, 2.17.5, 3.0.3
Red Hat OpenShift Container Platform - addressed in versions 4.9.56, 4.10.53, 4.11.28, 4.12.4
openvswitch-debuginfo - addressed in versions 2.5.11-25.34.1, 2.8.10-4.33.1, 2.11.5-3.15.1, 2.11.5-150100.3.21.1, 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-switch - update to 2.5.11-25.34.1
openvswitch-dpdk-switch-debuginfo - update to 2.5.11-25.34.1
openvswitch-dpdk-debugsource - update to 2.5.11-25.34.1
openvswitch-dpdk-debuginfo - update to 2.5.11-25.34.1
openvswitch-dpdk-switch - update to 2.5.11-25.34.1
openvswitch-switch-debuginfo - update to 2.5.11-25.34.1
openvswitch-debugsource - addressed in versions 2.5.11-25.34.1, 2.8.10-4.33.1, 2.11.5-3.15.1, 2.11.5-150100.3.21.1, 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch - addressed in versions 2.5.11-25.34.1, 2.8.10-4.33.1, 2.11.5-3.15.1, 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-dpdk - update to 2.5.11-25.34.1
libopenvswitch-2_8-0 - update to 2.8.10-4.33.1
libopenvswitch-2_8-0-debuginfo - update to 2.8.10-4.33.1
openvswitch-common (Ubuntu package) - addressed in versions 2.9.8-0ubuntu0.18.04.4, 2.13.8-0ubuntu1.1, 2.17.3-0ubuntu0.22.04.2, 3.0.3-0ubuntu0.22.10.2
libopenvswitch-2_11-0-debuginfo - addressed in versions 2.11.5-3.15.1, 2.11.5-150100.3.21.1
libopenvswitch-2_11-0 - addressed in versions 2.11.5-3.15.1, 2.11.5-150100.3.21.1
openvswitch-ovn-common-debuginfo - update to 2.11.5-150100.3.21.1
openvswitch-ovn-host - update to 2.11.5-150100.3.21.1
openvswitch-ovn-common - update to 2.11.5-150100.3.21.1
openvswitch-ovn-central-debuginfo - update to 2.11.5-150100.3.21.1
python3-ovs-debuginfo - update to 2.11.5-150100.3.21.1
openvswitch-ovn-docker - update to 2.11.5-150100.3.21.1
openvswitch-ovn-vtep - update to 2.11.5-150100.3.21.1
openvswitch-ovn-host-debuginfo - update to 2.11.5-150100.3.21.1
openvswitch-ovn-vtep-debuginfo - update to 2.11.5-150100.3.21.1
python2-ovs-debuginfo - update to 2.11.5-150100.3.21.1
python2-ovs - update to 2.11.5-150100.3.21.1
openvswitch-ovn-central - update to 2.11.5-150100.3.21.1
openvswitch-help - addressed in versions 2.12.4-2, 2.12.4-3
openvswitch-devel - addressed in versions 2.12.4-2, 2.12.4-3
openvswitch-debugsource - addressed in versions 2.12.4-2, 2.12.4-3
openvswitch-debuginfo - addressed in versions 2.12.4-2, 2.12.4-3
openvswitch - addressed in versions 2.12.4-2, 2.12.4-3
python3-openvswitch - update to 2.12.4-3
openvswitch2.13 (Red Hat package) - update to 2.13.0-212.el8fdp
libopenvswitch-2_13-0-debuginfo - update to 2.13.2-150200.9.22.1
libopenvswitch-2_13-0 - update to 2.13.2-150200.9.22.1
openvswitch-test-debuginfo - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
python3-ovs - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-vtep-debuginfo - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-vtep - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-devel - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-pki - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-ipsec - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-test - addressed in versions 2.13.2-150200.9.22.1, 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
libopenvswitch-2_14-0-debuginfo - addressed in versions 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
libopenvswitch-2_14-0 - addressed in versions 2.14.2-150300.19.8.1, 2.14.2-150400.24.6.1
openvswitch-doc - update to 2.14.2-150400.24.6.1
openvswitch (Debian package) - update to 2.15.0+ds1-2+deb11u2
openvswitch2.15 (Red Hat package) - update to 2.15.0-133.el8fdp
openvswitch2.16 (Red Hat package) - update to 2.16.0-111.el8fdp
openvswitch2.17 (Red Hat package) - addressed in versions 2.17.0-62.el9fdp, 2.17.0-71.el8fdp
net-misc/openvswitch - update to 2.17.6
ovn-central - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
libovn-20_03-0 - update to 20.03.1-150200.9.22.1
libovn-20_03-0-debuginfo - update to 20.03.1-150200.9.22.1
ovn-host - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-docker - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-devel - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-vtep - addressed in versions 20.03.1-150200.9.22.1, 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
libovn-20_06-0-debuginfo - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-debuginfo - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-central-debuginfo - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-vtep-debuginfo - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-host-debuginfo - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
libovn-20_06-0 - addressed in versions 20.06.2-150300.19.8.1, 20.06.2-150400.24.6.1
ovn-doc - update to 20.06.2-150400.24.6.1

External References

Related Security Bulletins