CVE-2019-17211 Integer overflow in n/a

Critical 9.8 Published Updated

Integer overflow in Mbed OS CoAP library leads to insufficient buffer allocation, potentially causing denial of service or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-17211?

CVE-2019-17211 is a critical vulnerability in n/a, published on 5 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An integer overflow was discovered in the CoAP library in Arm Mbed OS 5.14.0. The function sn_coap_builder_calc_needed_packet_data_size_2() is used to calculate the required memory for the CoAP message from the sn_coap_hdr_s data structure. Both returned_byte_count and src_coap_msg_ptr->payload_len are of type uint16_t. When added together, the result returned_byte_count can wrap around the maximum uint16_t value. As a result, insufficient buffer space is allocated for the corresponding CoAP message.

Weakness: CWE-190

Which versions are affected by CVE-2019-17211?

It affects 1 product.

Products include Mbed Mbed.

How do I fix CVE-2019-17211?

No fix has been published for CVE-2019-17211 yet. Limit exposure of the affected software until one is available.

Is CVE-2019-17211 being exploited?

There is no known exploitation of CVE-2019-17211 in the wild and no public exploit code.

Sources

Also known as GHSA-7vph-mg46-qvjr.

Is CVE-2019-17211 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free