Heap-based Buffer Overflow Affecting nasm package, versions [0,]
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.05% (21st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-NASM-5603268
- published 26 May 2023
- disclosed 26 May 2023
- credit Daisy Chen
Introduced: 26 May 2023
CVE-2023-31722 Open this link in a new tabHow to fix?
There is no fixed version for nasm
.
Overview
Affected versions of this package are vulnerable to Heap-based Buffer Overflow. The issue resides in the expand_mmacro
function within the asm/preproc.c
file. By providing certain malformed input to nasm, an attacker can trigger a heap buffer overflow, resulting in a read of size 4 beyond the allocated buffer.