Buffer Over-read Vulnerability in Arm Mbed OS CoAP Library
CVE-2020-12884
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Mbed Os. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.1).
What is CVE-2020-12884?
A buffer over-read issue exists in the CoAP library of Arm Mbed OS 5.15.3. This vulnerability arises when the CoAP parser processes packets that may contain multiple options. Specifically, the function sn_coap_parser_options_parse_multiple_options() fails to conduct an out-of-bounds check on packet_data_pptr after incrementing it by option_len. While there is a validation check for temp_parsed_uri_query_ptr, it relies on allocated heap memory rather than the actual size of input data. Thus, access can potentially go beyond the intended packet buffer boundary, posing significant security risks.
References
More Arm Vulnerabilities
Use After Free Vulnerability in Arm Ltd Valhall GPU Kernel Driver
Loop with Unreachable Exit Condition in Arm Ltd GPU Drivers
Memory Prefetch Vulnerability in ARM Processors
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction