CVE-2020-12885: High severity arm mbed vulnerability
An infinite loop 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 in a while loop. This loop's exit condition is computed using the previously allocated heap memory required for storing the result of parsing multiple options. If the input heap memory calculation results in zero bytes, the loop exit condition is never met and the loop is not terminated. As a result, the packet parsing function never exits, leading to resource consumption.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2020-12885?
CVE-2020-12885 is classified as a high severity vulnerability due to the potential for an infinite loop which can lead to denial of service.
How do I fix CVE-2020-12885?
To fix CVE-2020-12885, upgrade Arm Mbed OS to version 5.15.4 or later where the vulnerability has been addressed.
What impact does CVE-2020-12885 have on affected systems?
The impact of CVE-2020-12885 on affected systems includes the possibility of an infinite loop leading to resource exhaustion and denial of service.
Which versions of Arm Mbed OS are affected by CVE-2020-12885?
Arm Mbed OS version 5.15.3 is the only affected version for CVE-2020-12885.
Is there a workaround for CVE-2020-12885?
There is currently no documented workaround for CVE-2020-12885; upgrading to a patched version is recommended.