CVE Vulnerabilities

CVE-2021-40839

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Sep 10, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The rencode package through 1.0.6 for Python allows an infinite loop in typecode decoding (such as via ;x2fx7f), enabling a remote attack that consumes CPU and memory.

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
RencodeRencode_project*1.0.6 (including)
Python-rencodeUbuntubionic*
Python-rencodeUbuntufocal*
Python-rencodeUbuntuhirsute*
Python-rencodeUbuntuimpish*
Python-rencodeUbuntukinetic*
Python-rencodeUbuntutrusty*
Python-rencodeUbuntuupstream*
Python-rencodeUbuntuxenial*

References