cve.bz

CVE-2021-36980 openvswitch openvswitch: Use After Free

5.5 mediumEPSS 1.2%Fix available

Medium (5.5) in openvswitch openvswitch. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
Open vSwitch (aka openvswitch) 2.11.0 through 2.15.0 has a use-after-free in decode_NXAST_RAW_ENCAP (called from ofpact_decode and ofpacts_decode) during the decoding of a RAW_ENCAP action.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-36980 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-36980?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-36980?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-36980 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openvswitch:openvswitchfrom 2.11.0 through 2.15.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openvswitch2.15.0+ds1-10DEBIAN-CVE-2021-36980
Ubuntu20.04:LTSopenvswitch2.13.3-0ubuntu0.20.04.2UBUNTU-CVE-2021-36980 USN-5065-1
Red Hatenterprise_linux:7::fastdatapathopenvswitch2.11, openvswitch2.11-test, openvswitch2.11-devel and 2 more0:2.11.3-89.el7fdpRHBA-2021:1166
Red Hatenterprise_linux:7::fastdatapathopenvswitch2.13, openvswitch2.13-test, openvswitch2.13-devel and 3 more0:2.13.0-102.el7fdpRHBA-2022:8558
Red Hatenterprise_linux:7::hypervisoropenvswitch2.11, openvswitch2.11-devel, python-openvswitch2.11 and 1 more0:2.11.3-89.el7fdpRHSA-2021:3942
Red Hatenterprise_linux:8::fastdatapathopenvswitch2.11, openvswitch2.11-test, openvswitch2.11-devel and 5 more0:2.11.3-86.el8fdpRHBA-2021:1163
Red Hatenterprise_linux:8::fastdatapathopenvswitch2.13, openvswitch2.13-test, openvswitch2.13-devel and 6 more0:2.13.0-114.el8fdpRHBA-2021:2508
Red Hatenterprise_linux:8::fastdatapathopenvswitch2.15, openvswitch2.15-test, openvswitch2.15-devel and 6 more0:2.15.0-24.el8fdpRHBA-2021:2509
Red Hatopenshift:4.9::el7openshift, openshift-hyperkube0:4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7RHSA-2021:3758
Red Hatopenshift:4.9::el8coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more0:0.10.0-2.rhaos4.9.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8jenkins0:2.289.3.1630554997-1.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8openshift, openshift-hyperkube0:4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8RHSA-2021:3758
Red Hatopenshift:4.9::el8openvswitch2.15, openvswitch2.15-test, openvswitch2.15-devel and 6 more0:2.15.0-28.el8fdpRHSA-2021:3758
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Server Applications 15 SP3openvswitch2.14.2-150300.19.3.1SUSE-SU-2022:3116-1
SUSELinux Enterprise Module for Package Hub 15 SP4dpdk18.11.9-150100.4.23.1SUSE-SU-2023:1795-1
SUSELinux Enterprise Module for Package Hub 15 SP4openvswitch2.11.5-150100.3.18.2SUSE-SU-2023:1795-1
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Server Applications 15 SP4openvswitch2.14.2-150400.24.3.1SUSE-SU-2022:3099-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4 and 2 moreopenvswitch2.8.10-4.33.1SUSE-SU-2023:2360-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5openvswitch2.11.5-3.6.1SUSE-SU-2022:3098-1
openSUSELeap 15.3openvswitch2.14.2-150300.19.3.1SUSE-SU-2022:3116-1
openSUSELeap 15.3, Leap 15.4openvswitch2.13.2-150200.9.17.1SUSE-SU-2022:3096-1
openSUSELeap 15.4dpdk18.11.9-150100.4.23.1SUSE-SU-2023:1795-1
openSUSELeap 15.4openvswitch2.11.5-150100.3.18.2SUSE-SU-2023:1795-1
openSUSELeap 15.4openvswitch2.14.2-150400.24.3.1SUSE-SU-2022:3099-1
openSUSETumbleweedopenvswitch2.17.0-12.1openSUSE-SU-2024:11898-1
Alpinev3.14, v3.15, v3.16 and 8 moreopenvswitch2.12.3-r2ALPINE-CVE-2021-36980
Azure Linux2openvswitch2.17.0-1AZL-6781

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Critical flaws.

ProductPackageStateAdvisory
Fast Datapath for Red Hat Enterprise Linux 7openvswitch2.11-0:2.11.3-89.el7fdpFixed 2021-04-12RHBA-2021:1166
Fast Datapath for Red Hat Enterprise Linux 7openvswitch2.13-0:2.13.0-102.el7fdpFixed 2022-11-21RHBA-2022:8558
Fast Datapath for Red Hat Enterprise Linux 8openvswitch2.11-0:2.11.3-86.el8fdpFixed 2021-04-12RHBA-2021:1163
Fast Datapath for Red Hat Enterprise Linux 8openvswitch2.13-0:2.13.0-114.el8fdpFixed 2021-06-21RHBA-2021:2508
Fast Datapath for Red Hat Enterprise Linux 8openvswitch2.15-0:2.15.0-24.el8fdpFixed 2021-06-21RHBA-2021:2509
Red Hat OpenShift Container Platform 4.9openvswitch2.15-0:2.15.0-28.el8fdpFixed 2021-10-18RHSA-2021:3758
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7openvswitch2.11-0:2.11.3-89.el7fdpFixed 2021-10-20RHSA-2021:3942
Fast Datapath for RHEL 7openvswitchWill not fix
Fast Datapath for RHEL 7openvswitch2.10Not affected
Fast Datapath for RHEL 7openvswitch2.12Out of support scope
Fast Datapath for RHEL 7openvswitch2.15Will not fix
Fast Datapath for RHEL 8openvswitch2.12Out of support scope
Red Hat Enterprise Linux 8lldpdNot affected
Red Hat Enterprise Linux 9lldpdNot affected
Red Hat OpenShift Container Platform 4openvswitch2.13Will not fix
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
Red Hat OpenStack Platform 10 (Newton)openvswitchOut of support scope
Red Hat OpenStack Platform 10 (Newton)openvswitch2.11Out of support scope
Red Hat OpenStack Platform 13 (Queens)opendaylightOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp-openvswitchOut of support scope
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-36980.

References

Check your stackJSON