CVE-2024-48986

An issue was discovered in MBed OS 6.16.0. Its hci parsing software dynamically determines the length of certain hci packets by reading a byte from its header. Certain events cause a callback, the logic for which allocates a buffer (the length of which is determined by looking up the event type in a table). The subsequent write operation, however, copies the amount of data specified in the packet header, which may lead to a buffer overflow. This bug is trivial to exploit for a denial of service but is not certain to suffice to bring the system down and can generally not be exploited further because the exploitable buffer is dynamically allocated.
Configurations

Configuration 1 (hide)

cpe:2.3:o:arm:mbed:6.16.0:*:*:*:*:*:*:*

History

22 Nov 2024, 21:39

Type Values Removed Values Added
References () https://github.com/mbed-ce/mbed-os/blob/54e8693ef4ff7e025018094f290a1d5cf380941f/connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip/hci_evt.c#L3018 - () https://github.com/mbed-ce/mbed-os/blob/54e8693ef4ff7e025018094f290a1d5cf380941f/connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip/hci_evt.c#L3018 - Product
References () https://github.com/mbed-ce/mbed-os/pull/385 - () https://github.com/mbed-ce/mbed-os/pull/385 - Issue Tracking, Patch, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
Summary
  • (es) Se descubrió un problema en MBed OS 6.16.0. Su software de análisis de hci determina dinámicamente la longitud de ciertos paquetes hci leyendo un byte de su encabezado. Ciertos eventos provocan una devolución de llamada, cuya lógica asigna un búfer (cuya longitud se determina buscando el tipo de evento en una tabla). Sin embargo, la operación de escritura posterior copia la cantidad de datos especificada en el encabezado del paquete, lo que puede provocar un desbordamiento del búfer. Este error es fácil de explotar para una denegación de servicio, pero no es seguro que sea suficiente para hacer caer el sistema y, por lo general, no se puede explotar más porque el búfer explotable se asigna dinámicamente.
CPE cpe:2.3:o:arm:mbed:6.16.0:*:*:*:*:*:*:*
First Time Arm mbed
Arm
CWE CWE-120

20 Nov 2024, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-20 21:15

Updated : 2024-11-26 16:15


NVD link : CVE-2024-48986

Mitre link : CVE-2024-48986

CVE.ORG link : CVE-2024-48986


JSON object : View

Products Affected

arm

  • mbed
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')