Critical severity · published Nov 20, 2024
CVE-2024-48984
An issue was discovered in MBed OS 6.16.0
9.8
CVSS
0.5%
EPSS
No
On KEV
Description
An issue was discovered in MBed OS 6.16.0. When parsing hci reports, the hci parsing software dynamically determines the length of a list of reports by reading a byte from an input stream. It then fetches the length of the first report, uses it to calculate the beginning of the second report, etc. In doing this, it tracks the largest report so it can later allocate a buffer that fits every individual report (but only one at a time). It does not, however, validate that these addresses are all contained within the buffer passed to hciEvtProcessLeExtAdvReport. It is then possible, though unlikely, that the buffer designated to hold the reports is allocated in such a way that one of these out-of-bounds length fields is contained within the new buffer. When the (n-1)th report is copied, it overwrites the length field of the nth report. This now corrupted length field is then used for a memcpy into the new buffer, which may lead to a buffer overflow.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Mbed OS · Arm
6.16.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-48984
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-48984
Product
https://github.com/mbed-ce/mbed-os/blob/54e8693ef4ff7e025018094f290a1d5cf380941f/connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip/hci_evt.c#L1317
Third Party Advisory
https://github.com/mbed-ce/mbed-os/pull/387
More from Mbed OS
9.1
CVE-2020-12886
A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3
9.1
CVE-2020-12884
A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3
9.1
CVE-2020-12883
Buffer over-reads were discovered in the CoAP library in Arm Mbed OS 5.15.3
7.5
CVE-2020-12885
An infinite loop was discovered in the CoAP library in Arm Mbed OS 5.15.3
7.5
CVE-2019-17210
A denial-of-service issue was discovered in the MQTT library in Arm Mbed OS 2017-11-02
