| Vulnerability Name: | CVE-2020-12885 (CCN-183639) | ||||||||||||
| Assigned: | 2020-05-12 | ||||||||||||
| Published: | 2020-05-12 | ||||||||||||
| Updated: | 2020-06-25 | ||||||||||||
| Summary: | 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 v3 Severity: | 7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) 6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
| ||||||||||||
| CVSS v2 Severity: | 7.8 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
| ||||||||||||
| Vulnerability Type: | CWE-835 | ||||||||||||
| Vulnerability Consequences: | Denial of Service | ||||||||||||
| References: | Source: MITRE Type: CNA CVE-2020-12885 Source: XF Type: UNKNOWN armmbed-cve202012885-dos(183639) Source: CONFIRM Type: Third Party Advisory https://github.com/ARMmbed/mbed-coap/pull/116 Source: CCN Type: Mbed OS GIT Repository Infinite loop in MbedOS CoAP library parser #12929 Source: MISC Type: Third Party Advisory https://github.com/ARMmbed/mbed-os/issues/12929 Source: CCN Type: WhiteSource Vulnerability Database CVE-2020-12885 | ||||||||||||
| Vulnerable Configuration: | Configuration 1: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||
| BACK | |||||||||||||