CVE-2022-4338: Integer Underflow

Published Dec 21, 2022
·
Updated

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

24 affected componentsFixes available
Openvswitch OpenvSwitch<2.13.10
Openvswitch OpenvSwitch>=2.14.0<2.14.8
Openvswitch OpenvSwitch>=2.15.0<2.15.7
Openvswitch OpenvSwitch>=2.16.0<2.16.6
Openvswitch OpenvSwitch>=2.17.0<2.17.5
Openvswitch OpenvSwitch>=3.0.0<3.0.3
Debian Debian Linux=11.0
redhat/openvswitch<3.0.3
3.0.3
redhat/openvswitch<2.17.5
2.17.5
redhat/openvswitch<2.16.6
2.16.6
redhat/openvswitch<2.15.7
2.15.7
redhat/openvswitch<2.14.8
2.14.8
redhat/openvswitch<2.13.10
2.13.10
debian/openvswitch<3.1.0~git20221212.739bcf2-4
3.1.0~git20221212.739bcf2-4
debian/openvswitch<3.1.0~git20221212.739bcf2-4
3.1.0~git20221212.739bcf2-4
debian/openvswitch<3.1.0~git20221212.739bcf2-4
3.1.0~git20221212.739bcf2-4
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
alpine/openvswitch>=2.17.0<2.17.5-r0
2.17.5-r0
debian/openvswitch
2.10.7+ds1-0+deb10u32.15.0+ds1-2+deb11u23.1.0~git20221212.739bcf2-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 3.0.3
  2. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.17.5
  3. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.16.6
  4. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.15.7
  5. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.14.8
  6. Upgrade

    Upgrade redhat/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.13.10
  7. Upgrade

    Upgrade debian/openvswitch to a version that resolves this vulnerability.

    Fixed in 3.1.0~git20221212.739bcf2-4
  8. Upgrade

    Upgrade alpine/openvswitch to a version that resolves this vulnerability.

    Fixed in 2.17.5-r0
  9. Upgrade

    Upgrade debian/openvswitch to 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
  10. 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

Dec 21, 2022
Data Sourced
via Red Hat·04:17 AM
DescriptionSeverityAffected Software
Jan 10, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
DescriptionWeakness
Data Sourced
via OSV·10:15 PM
DescriptionAffected Software
Jan 18, 2023
Data Sourced
08:26 PM
RemedySeverityAffected Software
Nov 26, 2023
Updated
11:15 AM
Affected Software
Aug 3, 2024
Data Sourced
via MITRE·01:34 AM
DescriptionWeakness
Nov 21, 2024
Data Sourced
via NVD·07:35 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:35 AM
RemedyAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-4338?

CVE-2022-4338 is an integer underflow vulnerability in Organization Specific TLV in various versions of OpenvSwitch.

2

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.

3

How severe is CVE-2022-4338?

CVE-2022-4338 has a severity score of 9.8, which is considered critical.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203