Vulnerability Note VU#396440

MatrixSSL contains multiple vulnerabilities

Original Release date: 11 Oct 2016 | Last revised: 14 Oct 2016

Overview

MatrixSSL, version 3.8.5 and earlier, contains heap overflow, out-of-bounds read, and unallocated memory free operation vulnerabilities.

Description

CWE-122: Heap-based Buffer Overflow - CVE-2016-6890

The Subject Alt Name field of X.509 certificates is not properly parsed. A specially crafted certificate may result in a heap-based buffer overflow and arbitrary code execution.

CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer - CVE-2016-6891

The ASN.1 Bit Field is not properly parsed. A specially crafted certificate may lead to a denial of service condition due to an out of bounds read in memory.

CWE-590: Free of Memory not on the Heap - CVE-2016-6892

The x509FreeExtensions() function does not properly parse X.509 certificates. A specially crafted certificate may cause a free operation on unallocated memory, resulting in a denial of service condition.

The CVSS score below describes CVE-2016-6890. For more information about these vulnerabilities, contact the vendor at support@matrixssl.com or refer to the vendor release notes and the researcher's blog.

Impact

By causing a server to parse a specially crafted X.509 certificate, a remote, unauthenticated attacker may be able to create a denial of service condition or execute arbitrary code in the context of the SSL stack.

Solution

Apply an update

The vendor has released version 3.8.6 to address these issues. Developers of embedded devices using MatrixSSL should provide firmware updates implementing the fix. Users in general should update to the latest release.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
MatrixSSLAffected26 Aug 201611 Oct 2016
CoreOSNot Affected11 Oct 201613 Oct 2016
LenovoNot Affected11 Oct 201614 Oct 2016
ACCESSUnknown11 Oct 201611 Oct 2016
Alcatel-LucentUnknown11 Oct 201611 Oct 2016
AppleUnknown11 Oct 201611 Oct 2016
Arch LinuxUnknown11 Oct 201611 Oct 2016
Arista Networks, Inc.Unknown11 Oct 201611 Oct 2016
Aruba NetworksUnknown11 Oct 201611 Oct 2016
AT&TUnknown11 Oct 201611 Oct 2016
Avaya, Inc.Unknown11 Oct 201611 Oct 2016
Barracuda NetworksUnknown11 Oct 201611 Oct 2016
Belkin, Inc.Unknown11 Oct 201611 Oct 2016
Blue Coat SystemsUnknown11 Oct 201611 Oct 2016
Brocade Communication SystemsUnknown11 Oct 201611 Oct 2016
If you are a vendor and your product is affected, let us know.View More »

CVSS Metrics (Learn More)

Group Score Vector
Base 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C
Temporal 7.8 E:POC/RL:OF/RC:C
Environmental 5.9 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Craig Young of Tripwire for reporting these vulnerabilities.

This document was written by Joel Land.

Other Information

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.