Vulnerability · Published Jul 20, 2021 · Assigned by mitre
CVE-2021-36980
Medium 5.5
In plain English
A medium-severity use-after-free in the openvswitch package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.2%top 32.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | openvswitch | 2.12.3-r2 | ALPINE-CVE-2021-36980 |
| Alpine:v3.21 | openvswitch | 2.12.3-r2 | ALPINE-CVE-2021-36980 |
| Alpine:v3.22 | openvswitch | 2.12.3-r2 | ALPINE-CVE-2021-36980 |
| Alpine:v3.23 | openvswitch | 2.12.3-r2 | ALPINE-CVE-2021-36980 |
| Alpine:v3.24 | openvswitch | 2.12.3-r2 | ALPINE-CVE-2021-36980 |
| Debian:12 | openvswitch | 2.15.0+ds1-10 | DEBIAN-CVE-2021-36980 |
| Debian:13 | openvswitch | 2.15.0+ds1-10 | DEBIAN-CVE-2021-36980 |
| Debian:14 | openvswitch | 2.15.0+ds1-10 | DEBIAN-CVE-2021-36980 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openvswitch/OSV-2020-2197.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27851
- https://github.com/openvswitch/ovs/commit/77cccc74deede443e8b9102299efc869a52b65b2
- https://github.com/openvswitch/ovs/commit/38744b1bcb022c611712527f039722115300f58f
- https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3
- https://github.com/openvswitch/ovs/commit/6d67310f4d2524b466b98f05ebccc1add1e8cf35
- https://github.com/openvswitch/ovs/commit/8ce8dc34b5f73b30ce0c1869af9947013c3c6575
- https://github.com/openvswitch/ovs/commit/9926637a80d0d243dbf9c49761046895e9d1a8e2
- GLSA-202311-16 vendor-advisory