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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
MosquittoEclipse*2.0.16 (excluding)
Red Hat Satellite 6.13 for RHEL 8RedHatmosquitto-0:2.0.17-1.el8sat*
Red Hat Satellite 6.13 for RHEL 8RedHatmosquitto-0:2.0.17-1.el8sat*
Red Hat Satellite 6.14 for RHEL 8RedHatmosquitto-0:2.0.17-1.el8sat*
Red Hat Satellite 6.14 for RHEL 8RedHatmosquitto-0:2.0.17-1.el8sat*
MosquittoUbuntubionic*
MosquittoUbuntuesm-apps/focal*
MosquittoUbuntuesm-apps/jammy*
MosquittoUbuntufocal*
MosquittoUbuntujammy*
MosquittoUbuntulunar*
MosquittoUbuntutrusty*
MosquittoUbuntuupstream*
MosquittoUbuntuxenial*

Potential Mitigations

References