CWE
125
Advisory Published
Updated

CVE-2020-12883

First published: Thu Jun 18 2020(Updated: )

Buffer over-reads were 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() parses CoAP input linearly using a while loop. Once an option is parsed in a loop, the current point (*packet_data_pptr) is increased correspondingly. The pointer is restricted by the size of the received buffer, as well as by the option delta and option length bytes. The actual input packet length is not verified against the number of bytes read when processing the option extended delta and the option extended length. Moreover, the calculation of the message_left variable, in the case of non-extended option deltas, is incorrect and indicates more data left for processing than provided in the function input. All of these lead to heap-based or stack-based memory location read access that is outside of the intended boundary of the buffer. Depending on the platform-specific memory management mechanisms, it can lead to processing of unintended inputs or system memory access violation errors.

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-12883?

    The severity of CVE-2020-12883 is categorized as high due to potential exploitation risks associated with buffer over-reads.

  • How do I fix CVE-2020-12883?

    To mitigate CVE-2020-12883, upgrade to a patched version of Arm Mbed OS beyond 5.15.3 where the vulnerability has been addressed.

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

    CVE-2020-12883 is classified as a buffer over-read vulnerability in the CoAP library of Arm Mbed OS.

  • What versions are affected by CVE-2020-12883?

    CVE-2020-12883 specifically affects Arm Mbed OS version 5.15.3.

  • What impact can CVE-2020-12883 have on my system?

    Exploitation of CVE-2020-12883 may lead to information leakage and potentially allow attackers to glean sensitive data from the system.

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