Lucene search

K
certCERTVU:590639
HistoryOct 12, 2017 - 12:00 a.m.

NXP Semiconductors MQX RTOS contains multiple vulnerabilities

2017-10-1200:00:00
www.kb.cert.org
690

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

0.327 Low

EPSS

Percentile

97.0%

Overview

The NXP Semiconductors MQX RTOS prior to version 5.1 contains a buffer overflow in the DHCP client, which may lead to memory corruption allowing an attacker to execute arbitrary code, as well as an out of bounds read in the DNS client which may lead to a denial of service.

Description

The NXP Semiconductors MQX real-time operating system (RTOS) prior to version 5.1 is vulnerable to the following:

CWE-120**: Buffer Copy without Checking Size of Input (‘Classic Buffer Overflow’) -**CVE-2017-12718

The RTCS DHCP client for MQX version 5.0 fails to sanitize lengths for DHCP options 66 and 67. A remote attacker sending crafted DHCP packets utilizing options 66 and 67 may gain control of the length passed to memcpy, which may allow overwriting memory with a function pointer and privileged arbitrary code execution on all devices that have MQX RTCS networking support and DHCP enabled.

CWE-125**: Out-of-bounds Read -**CVE-2017-12722

The DNS client for MQX prior to version 4.2 fails to properly handle sizes in corrupt DNS packets, resulting in an out-of-bounds read. A remote attacker sending crafted DNS packets may cause an out-of-bounds read condition, resulting in a denial of service.

ICS-CERT has also released an advisory with further information on vulnerable products.


Impact

A remote, unauthenticated attacker may be able to send crafted DHCP or DNS packets to cause a buffer overflow and/or corrupt memory, leading to denial of service or code execution on the device.


Solution

Apply an update/patch

CVE-2017-12722 only affects MQX version 4.1 or prior. Affected users are encouraged to update to version 4.2 or later as soon as possible.

A patch is available for CVE-2017-12718 for users of MQX version 5.0. Affected users may contact NXP support at <[email protected]> for details.

MQX version 5.1 will fully address these issues, but is not expected to be released until 2018Q1.


Vendor Information

590639

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

NXP Semiconductors Inc. __ Affected

Notified: June 19, 2017 Updated: October 10, 2017

Statement Date: August 13, 2017

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

Users should update to MQX version 4.2 or later, and request the security hotfix from NXP. For additional information please contact [email protected].

Affected products using MQX include: ColdFire microcontrollers, Kinetis microcontrollers, i.MX processors, and Vybrid processors.

CVSS Metrics

Group Score Vector
Base 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C
Temporal 7.3 E:POC/RL:OF/RC:C
Environmental 5.5 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Thanks to Scott Gayou for reporting this vulnerability.

This document was written by Garret Wassermann.

Other Information

CVE IDs: CVE-2017-12718, CVE-2017-12722
Date Public: 2017-10-12 Date First Published:

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

0.327 Low

EPSS

Percentile

97.0%