Skip to main content
CRITICAL

CVE-2018-19417

CVSS v3

10

CRITICAL

EPSS Score

6.2 %

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical details

Published
2018-11-21

Frequently asked questions

What is CVE-2018-19417?

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.

Is CVE-2018-19417 actively exploited?

Active exploitation of CVE-2018-19417 has not been confirmed. The EPSS score is 6.2%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-19417?

CVE-2018-19417 has a CVSS v3 base score of 10 (CRITICAL severity).

Is CVE-2018-19417 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key