CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Arm

CVE-2020-12885
Arm Mbed Os 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 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

Mbed Os. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Arm Mbed Os runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Arm products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.