CVE-2020-12884: Critical severity arm mbed vulnerability
A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sncoapparseroptionsparsemultipleoptions() parses CoAP options that may occur multiple consecutive times in a single packet. While processing the options, packetdatapptr is accessed after being incremented by optionlen without a prior out-of-bounds memory check. The tempparseduriqueryptr is validated for a correct range, but the range valid for tempparseduriqueryptr is derived from the amount of allocated heap memory, not the actual input size. Therefore the check of tempparseduriqueryptr may be insufficient for safe access to the area pointed to by packetdatapptr. As a result, access to a memory area outside of the intended boundary of the packet buffer is made.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2020-12884?
The severity of CVE-2020-12884 has not been explicitly rated, but it is categorized as a buffer over-read vulnerability which can pose significant risks.
How do I fix CVE-2020-12884?
To fix CVE-2020-12884, you should upgrade to a patched version of Arm Mbed OS that addresses this vulnerability.
What systems are affected by CVE-2020-12884?
CVE-2020-12884 affects the CoAP library in Arm Mbed OS version 5.15.3.
What type of vulnerability is CVE-2020-12884?
CVE-2020-12884 is classified as a buffer over-read vulnerability in the CoAP parser.
What components are implicated in CVE-2020-12884?
CVE-2020-12884 specifically involves the parsing function sn_coap_parser_options_parse_multiple_options in the CoAP library.