An issue was discovered in MBed OS 6.16.0. Its hci...
High severity
Unreviewed
Published
Nov 20, 2024
to the GitHub Advisory Database
•
Updated Nov 23, 2024
Description
Published by the National Vulnerability Database
Nov 20, 2024
Published to the GitHub Advisory Database
Nov 20, 2024
Last updated
Nov 23, 2024
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. This value is assumed to be greater than or equal to 3, but the software doesn't ensure that this is the case. Supplying a length less than 3 leads to a buffer overflow in a buffer that is allocated later. It is simultaneously possible to cause another integer overflow by supplying large length values because the provided length value is increased by a few bytes to account for additional information that is supposed to be stored there. 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