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.
References
Link | Resource |
---|---|
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 |
https://github.com/mbed-ce/mbed-os/pull/385 | Issue Tracking Patch Vendor Advisory |
Configurations
History
No history.
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')