MatrixSSL, version 3.8.5 and earlier, contains heap overflow, out-of-bounds read, and unallocated memory free operation vulnerabilities.
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
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 email@example.com or refer to the vendor release notes and the researcher's blog.
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.
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| Status| Date Notified| Date Updated
MatrixSSL| | 26 Aug 2016| 11 Oct 2016
CoreOS| | 11 Oct 2016| 13 Oct 2016
Lenovo| | 11 Oct 2016| 14 Oct 2016
ACCESS| | 11 Oct 2016| 11 Oct 2016
Alcatel-Lucent| | 11 Oct 2016| 11 Oct 2016
Apple| | 11 Oct 2016| 11 Oct 2016
Arch Linux| | 11 Oct 2016| 11 Oct 2016
Arista Networks, Inc.| | 11 Oct 2016| 11 Oct 2016
Aruba Networks| | 11 Oct 2016| 11 Oct 2016
AT&T;| | 11 Oct 2016| 11 Oct 2016
Avaya, Inc.| | 11 Oct 2016| 11 Oct 2016
Barracuda Networks| | 11 Oct 2016| 11 Oct 2016
Belkin, Inc.| | 11 Oct 2016| 11 Oct 2016
Blue Coat Systems| | 11 Oct 2016| 11 Oct 2016
Brocade Communication Systems| | 11 Oct 2016| 11 Oct 2016
If you are a vendor and your product is affected, let us know.
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
Thanks to Craig Young of Tripwire for reporting these vulnerabilities.
This document was written by Joel Land.