CVE-2020-12885

An infinite loop was discovered in the CoAP library in Arm Mbed OS 5.15.3

published June 18, 2020

CVSS
—
EPSS
1%
Percentile
68.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01235 · 68.8th percentile
Published
2020-06-18T18:24Z
EPSS history
Timeline
  • 18 JUN 18:24Z
    An infinite loop was discovered in the CoAP library in Arm Mbed OS 5.15.3
    cvelistv5