CWE
125
Advisory Published
Updated

CVE-2020-12884

First published: Thu Jun 18 2020(Updated: )

A buffer over-read 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 that may occur multiple consecutive times in a single packet. While processing the options, packet_data_pptr is accessed after being incremented by option_len without a prior out-of-bounds memory check. The temp_parsed_uri_query_ptr is validated for a correct range, but the range valid for temp_parsed_uri_query_ptr is derived from the amount of allocated heap memory, not the actual input size. Therefore the check of temp_parsed_uri_query_ptr may be insufficient for safe access to the area pointed to by packet_data_pptr. As a result, access to a memory area outside of the intended boundary of the packet buffer is made.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Arm Mbed=5.15.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-12884?

    The severity of CVE-2020-12884 has not been explicitly rated, but it is categorized as a buffer over-read vulnerability which can pose significant risks.

  • How do I fix CVE-2020-12884?

    To fix CVE-2020-12884, you should upgrade to a patched version of Arm Mbed OS that addresses this vulnerability.

  • What systems are affected by CVE-2020-12884?

    CVE-2020-12884 affects the CoAP library in Arm Mbed OS version 5.15.3.

  • What type of vulnerability is CVE-2020-12884?

    CVE-2020-12884 is classified as a buffer over-read vulnerability in the CoAP parser.

  • What components are implicated in CVE-2020-12884?

    CVE-2020-12884 specifically involves the parsing function sn_coap_parser_options_parse_multiple_options in the CoAP library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203