CVE Vulnerabilities

CVE-2021-35515

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jul 13, 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
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress sevenz package.

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
Commons_compress Apache 1.6 (including) 1.20 (including)
Red Hat Fuse 7.11 RedHat apache-commons-compress *
Red Hat Virtualization Engine 4.4 RedHat apache-commons-compress-0:1.21-1.2.el8ev *
Libcommons-compress-java Ubuntu bionic *
Libcommons-compress-java Ubuntu groovy *
Libcommons-compress-java Ubuntu hirsute *
Libcommons-compress-java Ubuntu impish *
Libcommons-compress-java Ubuntu kinetic *
Libcommons-compress-java Ubuntu lunar *
Libcommons-compress-java Ubuntu mantic *
Libcommons-compress-java Ubuntu trusty *
Libcommons-compress-java Ubuntu xenial *

References