PT-2019-15004 · Arm · Arm Mbed Os

Thesilentdawn

·

Published

2019-11-05

·

Updated

2019-11-13

·

CVE-2019-17211

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Arm Mbed OS version 5.14.0
Description An integer overflow was discovered in the CoAP library. The issue arises from the function sn coap builder calc needed packet data size 2(), which calculates the required memory for the CoAP message. The variables returned byte count and src coap msg ptr->payload len are of type uint16 t. When these values are added together, the result returned byte count can exceed the maximum uint16 t value, causing a wrap-around. This leads to insufficient buffer space being allocated for the corresponding CoAP message.
Recommendations For Arm Mbed OS version 5.14.0, consider modifying the sn coap builder calc needed packet data size 2() function to handle the integer overflow, ensuring sufficient buffer space is allocated for CoAP messages.

Exploit

Fix

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-17211

Affected Products

Arm Mbed Os