Vulnerability Description
In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm. The related heap is allocated in the token() function and freed in the detoken() function (called by pp_getline()) - it is used again at multiple positions later that could cause multiple damages. For example, it causes a corrupted double-linked list in detoken(), a double free or corruption in delete_Token(), and an out-of-bounds write in detoken(). It has a high possibility to lead to a remote code execution attack.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nasm | Netwide Assembler | 2.14 |
| Canonical | Ubuntu Linux | 14.04 |
Related Weaknesses (CWE)
References
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414ExploitIssue TrackingPatch
- https://security.gentoo.org/glsa/201903-19
- https://usn.ubuntu.com/3694-1/Third Party Advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414ExploitIssue TrackingPatch
- https://security.gentoo.org/glsa/201903-19
- https://usn.ubuntu.com/3694-1/Third Party Advisory
FAQ
What is CVE-2017-10686?
CVE-2017-10686 is a vulnerability with a CVSS score of 7.8 (HIGH). In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm. The related heap is allocated in the token() function and freed in the detoken() function ...
How severe is CVE-2017-10686?
CVE-2017-10686 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-10686?
Check the references section above for vendor advisories and patch information. Affected products include: Nasm Netwide Assembler, Canonical Ubuntu Linux.