CVE-2019-17212: Out-of-bounds Read

Published Nov 5, 2019
·
Updated

Buffer overflows were discovered in the CoAP library in Arm Mbed OS 5.14.0. The CoAP parser is responsible for parsing received CoAP packets. The function sncoapparseroptionsparse() parses CoAP input linearly using a while loop. Once an option is parsed in a loop, the current point (packetdatapptr) is increased correspondingly. The pointer is restricted by the size of the received buffer, as well as by the 0xFF delimiter byte. Inside each while loop, the check of the value of packetdatapptr is not strictly enforced. More specifically, inside a loop, packetdatapptr could be increased and then dereferenced without checking. Moreover, there are many other functions in the format of sncoapparser() that do not check whether the pointer is within the bounds of the allocated buffer. All of these lead to heap-based or stack-based buffer overflows, depending on how the CoAP packet buffer is allocated.

Affected Software

2 affected components
Mbed Mbed=5.13.2
Mbed Mbed=5.14.0

Event History

Nov 5, 2019
CVE Published
via MITRE·02:53 PM
Data Sourced
via MITRE·02:53 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-17212?

CVE-2019-17212 is classified as a high severity vulnerability due to its potential to cause buffer overflows in the CoAP library.

2

How do I fix CVE-2019-17212?

To fix CVE-2019-17212, upgrade your Mbed OS to version 5.14.1 or later to address the buffer overflow vulnerability.

3

Which versions of Mbed OS are affected by CVE-2019-17212?

CVE-2019-17212 affects Mbed OS versions 5.13.2 and 5.14.0.

4

What components are involved in CVE-2019-17212?

CVE-2019-17212 involves the CoAP parser component within the Mbed OS framework.

5

What type of vulnerability is CVE-2019-17212?

CVE-2019-17212 is a buffer overflow vulnerability that can lead to potential security risks in network communications.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203