#VU55006 Use-after-free in Open vSwitch


Published: 2021-07-20

Vulnerability identifier: #VU55006

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-36980

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Open vSwitch
Hardware solutions / Firmware

Vendor: openvswitch.org

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in decode_NXAST_RAW_ENCAP (called from ofpact_decode and ofpacts_decode) during the decoding of a RAW_ENCAP action. A remote attacker can send a specially crafted request to the system, trigger a use-after-free error and execute arbitrary code.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Open vSwitch: 2.15.0, 2.14.0 - 2.14.2, 2.13.0 - 2.13.3, 2.12.0 - 2.12.3, 2.11.0 - 2.11.7


External links
http://github.com/openvswitch/ovs/commit/38744b1bcb022c611712527f039722115300f58f
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27851
http://github.com/google/oss-fuzz-vulns/blob/main/vulns/openvswitch/OSV-2020-2197.yaml


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability