CVE Vulnerabilities

CVE-2019-6291

Uncontrolled Recursion

Published: Jan 15, 2019 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
5.5 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
NEGLIGIBLE
root.io logo minimus.io logo echo.ai logo

An issue was discovered in the function expr6 in eval.c in Netwide Assembler (NASM) through 2.14.02. There is a stack exhaustion problem caused by the expr6 function making recursive calls to itself in certain scenarios involving lots of ! or + or - characters. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted asm file.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
Netwide_assemblerNasm*2.14.02 (including)
NasmUbuntubionic*
NasmUbuntucosmic*
NasmUbuntudisco*
NasmUbuntueoan*
NasmUbuntufocal*
NasmUbuntugroovy*
NasmUbuntuhirsute*
NasmUbuntuimpish*
NasmUbuntukinetic*
NasmUbuntulunar*
NasmUbuntumantic*
NasmUbuntuoracular*
NasmUbuntuplucky*
NasmUbuntutrusty*
NasmUbuntuxenial*

Potential Mitigations

References