CVE-2024-48985
Last modified
CVE-2024-48985 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. An issue was discovered in MBed OS 6.16.0. During processing of HCI packets, the software dynamically determines the length of the packet data by reading 2 bytes from the packet data. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
An issue was discovered in MBed OS 6.16.0. During processing of HCI packets, the software dynamically determines the length of the packet data by reading 2 bytes from the packet data. A buffer is then allocated to contain the entire packet, the size of which is calculated as the length of the packet body determined earlier and the header length. If the allocate fails because the specified packet is too large, no exception handling occurs and hciTrSerialRxIncoming continues to write bytes into the 4-byte large temporary header buffer, leading to a buffer overflow. This can be leveraged into an arbitrary write by an attacker. It is possible to overwrite the pointer to the buffer that is supposed to receive the contents of the packet body but which couldn't be allocated. One can then overwrite the state variable used by the function to determine which step of the parsing process is currently being executed. This advances the function to the next state, where it proceeds to copy data to that arbitrary location. The packet body is then written wherever the corrupted data pointer is pointing.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Arm | Mbed | 6.16.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-48985?
How severe is CVE-2024-48985?
How do I fix CVE-2024-48985?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-48974The ventilator does not perform proper file integrity checks…9.3
- CVE-2024-4898The InstaWP Connect – 1-click WP Staging & Migration plugin …9.8
- CVE-2024-48981An issue was discovered in MBed OS 6.16.0. During processing…7.5
- CVE-2024-48982An issue was discovered in MBed OS 6.16.0. Its hci parsing s…7.5
- CVE-2024-48983An issue was discovered in MBed OS 6.16.0. During processing…7.5
- CVE-2024-48984An issue was discovered in MBed OS 6.16.0. When parsing hci …9.8
- CVE-2024-48986An issue was discovered in MBed OS 6.16.0. Its hci parsing s…7.5
- CVE-2024-48987Snipe-IT before 7.0.10 allows remote code execution (associa…6.6
- CVE-2024-48988SQL Injection vulnerability in Apache StreamPark. This issu…7.6
- CVE-2024-48989A vulnerability in the PROFINET stack implementation of the …7.5
- CVE-2024-4899The SEOPress WordPress plugin before 7.8 does not sanitise …5
- CVE-2024-48990Qualys discovered that needrestart, before version 3.8, allo…7.8
Are you affected by CVE-2024-48985?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
