CVE Vulnerabilities

CVE-2021-45257

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Dec 22, 2021 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/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
3.3 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An infinite loop vulnerability exists in nasm 2.16rc0 via the gpaste_tokens function.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
Netwide_assemblerNasm2.16-rc0 (including)2.16-rc0 (including)
NasmUbuntubionic*
NasmUbuntudevel*
NasmUbuntuesm-apps/jammy*
NasmUbuntuesm-apps/noble*
NasmUbuntufocal*
NasmUbuntuhirsute*
NasmUbuntuimpish*
NasmUbuntujammy*
NasmUbuntukinetic*
NasmUbuntulunar*
NasmUbuntumantic*
NasmUbuntunoble*
NasmUbuntuoracular*
NasmUbuntuplucky*
NasmUbuntuquesting*
NasmUbuntutrusty*
NasmUbuntuupstream*
NasmUbuntuxenial*

References