Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Arm | Mbed Os | 5.15.3 |
Related Weaknesses (CWE)
References
- https://github.com/ARMmbed/mbed-coap/pull/116Third Party Advisory
- https://github.com/ARMmbed/mbed-os/issues/12929Third Party Advisory
- https://github.com/ARMmbed/mbed-coap/pull/116Third Party Advisory
- https://github.com/ARMmbed/mbed-os/issues/12929Third Party Advisory
FAQ
What is CVE-2020-12885?
CVE-2020-12885 is a vulnerability with a CVSS score of 7.5 (HIGH). 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(...
How severe is CVE-2020-12885?
CVE-2020-12885 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-12885?
Check the references section above for vendor advisories and patch information. Affected products include: Arm Mbed Os.