CVE-2022-4338: Integer Underflow
An integer underflow in Organization Specific TLV was found in various versions of OpenvSwitch.
Other sources
Multiple versions of Open vSwitch are vulnerable to crafted LLDP packets causing data underflow attacks. Triggering the vulnerabilities requires LLDP processing to be enabled for a specific port. Open vSwitch versions prior to 2.4.0 are not vulnerable.
https://github.com/openvswitch/ovs/pull/405 https://mail.openvswitch.org/pipermail/ovs-dev/2022-December/400596.html
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 3.0.3 - Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 2.17.5 - Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 2.16.6 - Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 2.15.7 - Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 2.14.8 - Upgrade
Upgrade
redhat/openvswitchto a version that resolves this vulnerability.Fixed in 2.13.10 - Upgrade
Upgrade
debian/openvswitchto a version that resolves this vulnerability.Fixed in 3.1.0~git20221212.739bcf2-4 - Upgrade
Upgrade
alpine/openvswitchto a version that resolves this vulnerability.Fixed in 2.17.5-r0 - Upgrade
Upgrade
debian/openvswitchto a version that resolves this vulnerability.Fixed in 2.10.7+ds1-0+deb10u3Fixed in 2.15.0+ds1-2+deb11u2Fixed in 3.1.0~git20221212.739bcf2-4 - Configuration
Disable LLDP processing on the affected port to prevent crafted LLDP packets from triggering the vulnerability.
Open vSwitch LLDP processing on the affected port = disabled
Event History
Frequently Asked Questions
What is CVE-2022-4338?
CVE-2022-4338 is an integer underflow vulnerability in Organization Specific TLV in various versions of OpenvSwitch.
Which versions of OpenvSwitch are affected by CVE-2022-4338?
Various versions of OpenvSwitch including 2.13.10 up to but excluding 2.14.8, 2.15.7 up to but excluding 2.16.6, 2.17.5 up to but excluding 3.0.3 are affected by CVE-2022-4338.
How severe is CVE-2022-4338?
CVE-2022-4338 has a severity score of 9.8, which is considered critical.
How can I fix CVE-2022-4338?
To fix CVE-2022-4338, you should update OpenvSwitch to version 2.10.7+ds1-0+deb10u4, 2.15.0+ds1-2+deb11u4, 3.1.0-2, or 3.2.0-2.
Where can I find more information about CVE-2022-4338?
You can find more information about CVE-2022-4338 in the following references: [GitHub Pull Request](https://github.com/openvswitch/ovs/pull/405), [OpenvSwitch Mailing List](https://mail.openvswitch.org/pipermail/ovs-dev/2022-December/400596.html), [Debian Security Advisory](https://www.debian.org/security/2023/dsa-5319).