CVE Vulnerabilities

CVE-2021-40839

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Sep 10, 2021 | Modified: Nov 07, 2023
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

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

Name Vendor Start Version End Version
Rencode Rencode_project * 1.0.6 (including)
Python-rencode Ubuntu bionic *
Python-rencode Ubuntu hirsute *
Python-rencode Ubuntu impish *
Python-rencode Ubuntu kinetic *
Python-rencode Ubuntu trusty *
Python-rencode Ubuntu upstream *
Python-rencode Ubuntu xenial *

References