Overview
ASN.1 is a standard representation of data for networking and telecommunications applications. Objective System's ASN1C compiler generates C and C++ code that may be vulnerable to heap overflow.
Description
CWE-122: Heap-based Buffer Overflow - CVE-2016-5080 ASN1C is used to generate high-level-language code from ASN.1 syntax. According to the reporter, the generated C and C++ code from ASN1C may be vulnerable to heap overflow in the generated heap manager's rtxMemHeapAlloc function. It is currently unclear if a similar vulnerability exists in other output languages such as Java. and C#. |
Impact
The impact may vary depending on how the vulnerable code is used in an application. In worst case, an application that utilizes ASN.1 data from untrusted sources may be exploited by a remote unauthenticated attacker to execute arbitrary code with permissions of the application (typically root/SYSTEM). |
Solution
Apply an update |
Vendor Information
The vendors listed below were primarily sourced from Objective Systems' customer list. The CERT/CC has no further evidence that any particular vendor is impacted unless marked Affected; vendors are encouraged to reach out to us to clarify their status. |
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Temporal | 7.1 | E:U/RL:TF/RC:C |
Environmental | 5.4 | CDP:ND/TD:M/CR:ND/IR:ND/AR:ND |
References
- https://github.com/programa-stic/security-advisories/tree/master/ObjSys/CVE-2016-5080
- http://www.fundacionsadosky.org.ar/publicaciones/
- http://cwe.mitre.org/data/definitions/122.html
- https://www.ncsc.nl/dienstverlening/response-op-dreigingen-en-incidenten/beveiligingsadviezen/NCSC-2016-0650+1.00+Kwetsbaarheid+verholpen+in+ASN1C.html
Acknowledgements
Thanks to Lucas Molas and Ivan Arce of Programa STIC at the Fundación Sadosky for researching and coordinating this vulnerability.
This document was written by Garret Wassermann.
Other Information
CVE IDs: | CVE-2016-5080 |
Date Public: | 2016-07-18 |
Date First Published: | 2016-07-19 |
Date Last Updated: | 2016-08-26 18:07 UTC |
Document Revision: | 53 |