CVE-2017-10686
In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm.
Published 9 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
2.95% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-416 Use After Free
References
- usn.ubuntu.com /3694-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- bugzilla.nasm.us /show_bug.cgi?id=3392414 · x_refsource_MISC, x_transferred
- security.gentoo.org /glsa/201903-19 · vendor-advisory, x_refsource_GENTOO, x_transferred
Sources
- CVE List: CVE-2017-10686
- NVD: CVE-2017-10686
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.