CVE-2018-17614 Memory corruption in Losant Arduino MQTT Client

High 8.8 Published Updated

Remote attackers can execute arbitrary code via stack-based buffer overflow in MQTT packet parsing without user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-17614?

CVE-2018-17614 is a high-severity memory corruption vulnerability in Losant Arduino MQTT Client, published on 13 Nov 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Losant Arduino MQTT Client prior to V2.7. User interaction is not required to exploit this vulnerability. The specific flaw exists within the parsing of MQTT PUBLISH packets. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-6436.

Weakness: CWE-119, CWE-121

Which versions are affected by CVE-2018-17614?

It affects 1 product.

Products include Losant Arduino Mqtt Client.

How do I fix CVE-2018-17614?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-17614 being exploited?

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

Sources

Also known as GHSA-v2rq-3pp5-wf98.

Is CVE-2018-17614 in your software?

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

Check your SBOMs for free