CVE-2024-48984 Memory corruption in n/a
A buffer overflow in MBed OS HCI report parsing allows attackers to potentially execute arbitrary code or cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-48984?
CVE-2024-48984 is a critical memory corruption vulnerability in n/a, published on 20 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-120
Which versions are affected by CVE-2024-48984?
It affects 1 product.
Products include Arm Mbed Os.
How do I fix CVE-2024-48984?
No fix has been published for CVE-2024-48984 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-48984 being exploited?
There is no known exploitation of CVE-2024-48984 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-p8x9-vqx9-g5pw.