CVE Vulnerabilities

CVE-2020-35498

Uncontrolled Resource Consumption

Published: Feb 11, 2021 | Modified: Nov 26, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

A vulnerability was found in openvswitch. A limitation in the implementation of userspace packet parsing can allow a malicious user to send a specially crafted packet causing the resulting megaflow in the kernel to be too wide, potentially causing a denial of service. The highest threat from this vulnerability is to system availability.

Weakness

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
Openvswitch Openvswitch 2.5.0 (including) 2.5.12 (excluding)
Openvswitch Openvswitch 2.6.0 (including) 2.6.10 (excluding)
Openvswitch Openvswitch 2.7.0 (including) 2.7.13 (excluding)
Openvswitch Openvswitch 2.8.0 (including) 2.8.11 (excluding)
Openvswitch Openvswitch 2.9.0 (including) 2.9.9 (excluding)
Openvswitch Openvswitch 2.10.0 (including) 2.10.7 (excluding)
Openvswitch Openvswitch 2.11.0 (including) 2.11.6 (excluding)
Openvswitch Openvswitch 2.12.0 (including) 2.12.3 (excluding)
Openvswitch Openvswitch 2.13.0 (including) 2.13.3 (excluding)
Openvswitch Openvswitch 2.14.0 (including) 2.14.2 (excluding)
Fast Datapath for Red Hat Enterprise Linux 7 RedHat openvswitch2.11-0:2.11.3-86.el7fdp *
Fast Datapath for Red Hat Enterprise Linux 7 RedHat openvswitch2.13-0:2.13.0-81.el7fdp *
Fast Datapath for Red Hat Enterprise Linux 7 RedHat openvswitch-0:2.9.9-1.el7fdp *
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.13-0:2.13.0-79.5.el8fdp *
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.11-0:2.11.3-83.el8fdp *
Red Hat OpenStack Platform 13.0 (Queens) RedHat openvswitch2.11-0:2.11.3-86.el7fdp *
Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUS RedHat openvswitch-0:2.9.9-1.el7fdp *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat openvswitch2.11-0:2.11.3-86.el7fdp *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat ovn2.11-0:2.11.1-57.el7fdp *
Openvswitch Ubuntu bionic *
Openvswitch Ubuntu devel *
Openvswitch Ubuntu focal *
Openvswitch Ubuntu groovy *
Openvswitch Ubuntu trusty *
Openvswitch Ubuntu xenial *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References