CVE-2018-19417
Last modified
CVE-2018-19417 is a vulnerability of currently unknown severity. An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a variable length header uses memcpy to input data into a fixed size buffer. EPSS estimates a 5.69% chance of exploitation in the next 30 days.
Description
An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a variable length header uses memcpy to input data into a fixed size buffer. The allocated buffer can fit only MQTT_MAX_TOPIC_LENGTH (default 64) bytes, and a length check is missing. This could lead to Remote Code Execution via a stack-smashing attack (overwriting the function return address). Contiki-NG does not separate the MQTT server from other servers and the OS modules, so access to all memory regions is possible.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Contiki-Ng | Contiki-Ng | < 4.2 |
References
- https://github.com/contiki-ng/contiki-ng/issues/600Exploit, Third Party Advisory
- https://github.com/contiki-ng/contiki-ng/issues/600Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-19417?
How severe is CVE-2018-19417?
How do I fix CVE-2018-19417?
Are you affected by CVE-2018-19417?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
