Unrated severityNVD Advisory· Published Jun 18, 2020· Updated Aug 4, 2024
CVE-2020-12885
CVE-2020-12885
Description
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 sn_coap_parser_options_parse_multiple_options() 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 products
2- Arm/Mbed OSdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/ARMmbed/mbed-coap/pull/116mitrex_refsource_CONFIRM
- github.com/ARMmbed/mbed-os/issues/12929mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.