CVE Vulnerabilities

CVE-2021-41039

Excessive Platform Resource Consumption within a Loop

Published: Dec 01, 2021 | Modified: Nov 21, 2024
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
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property properties could cause excessive CPU usage, leading to a loss of performance and possible denial of service.

Weakness

The product has a loop body or loop condition that contains a control element that directly or indirectly consumes platform resources, e.g. messaging, sessions, locks, or file descriptors.

Affected Software

Name Vendor Start Version End Version
Mosquitto Eclipse 1.6 (including) 2.0.11 (including)
Mosquitto Ubuntu bionic *
Mosquitto Ubuntu esm-apps/focal *
Mosquitto Ubuntu focal *
Mosquitto Ubuntu hirsute *
Mosquitto Ubuntu impish *
Mosquitto Ubuntu jammy *
Mosquitto Ubuntu kinetic *
Mosquitto Ubuntu trusty *
Mosquitto Ubuntu upstream *
Mosquitto Ubuntu xenial *

Extended Description

This issue can make the product perform more slowly. If an attacker can influence the number of iterations in the loop, then this performance problem might allow a denial of service by consuming more platform resources than intended.

References