CVE Vulnerabilities

CVE-2023-0809

Memory Allocation with Excessive Size Value

Published: Oct 02, 2023 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.

Weakness

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Affected Software

Name Vendor Start Version End Version
Mosquitto Eclipse * 2.0.16 (excluding)
Red Hat Satellite 6.13 for RHEL 8 RedHat mosquitto-0:2.0.17-1.el8sat *
Red Hat Satellite 6.13 for RHEL 8 RedHat mosquitto-0:2.0.17-1.el8sat *
Red Hat Satellite 6.14 for RHEL 8 RedHat mosquitto-0:2.0.17-1.el8sat *
Red Hat Satellite 6.14 for RHEL 8 RedHat mosquitto-0:2.0.17-1.el8sat *
Mosquitto Ubuntu bionic *
Mosquitto Ubuntu esm-apps/focal *
Mosquitto Ubuntu focal *
Mosquitto Ubuntu jammy *
Mosquitto Ubuntu lunar *
Mosquitto Ubuntu trusty *
Mosquitto Ubuntu upstream *
Mosquitto Ubuntu xenial *

Potential Mitigations

References