CVE-2021-36980: 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.
CVE-2021-36980 is a vulnerability in 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., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.18% probability of exploitation activity in the next 30 days, higher than 68% of all scored vulnerabilities. Microsoft released the fix on 28 July 2021, outside Patch Tuesday. It affects 2 products in 1 product family (Mariner).
Key facts
- CVE ID
- CVE-2021-36980
- Severity
- Medium CVSS 5.5
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-416
- EPSS
- 1.18% (percentile 68%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- July 2021 Patch Tuesday
- Product families
- Mariner
CVSS score and vector
Microsoft scores CVE-2021-36980 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Frequently asked questions (Microsoft)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (2)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| cm1 openvswitch 2.15.1-1 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 2.15.1-1 | No |
| cbl2 openvswitch 2.17.0-1 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 2.17.0-1 | No |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.5 (MEDIUM)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| openvswitch | from 2.11.0, up to and including 2.15.0 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27851 (Patch, Third Party Advisory)
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openvswitch/OSV-2020-2197.yaml (Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/38744b1bcb022c611712527f039722115300f58f (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/6d67310f4d2524b466b98f05ebccc1add1e8cf35 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/77cccc74deede443e8b9102299efc869a52b65b2 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/8ce8dc34b5f73b30ce0c1869af9947013c3c6575 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/9926637a80d0d243dbf9c49761046895e9d1a8e2 (Patch, Third Party Advisory)
- https://security.gentoo.org/glsa/202311-16
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27851 (Patch, Third Party Advisory)
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openvswitch/OSV-2020-2197.yaml (Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/38744b1bcb022c611712527f039722115300f58f (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/6d67310f4d2524b466b98f05ebccc1add1e8cf35 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/77cccc74deede443e8b9102299efc869a52b65b2 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/8ce8dc34b5f73b30ce0c1869af9947013c3c6575 (Patch, Third Party Advisory)
- https://github.com/openvswitch/ovs/commit/9926637a80d0d243dbf9c49761046895e9d1a8e2 (Patch, Third Party Advisory)
- https://security.gentoo.org/glsa/202311-16
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 1.1 | Added openvswitch to CBL-Mariner 2.0 |