CVE Vulnerabilities

CVE-2018-11771

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Aug 16, 2018 | Modified: Nov 07, 2023
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
Ubuntu

When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17s ZipArchiveInputStream can fail to return the correct EOF indication after the end of the stream has been reached. When combined with a java.io.InputStreamReader this can lead to an infinite stream, which can be used to mount a denial of service attack against services that use Compress zip 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.7.0 (including) 1.17.0 (including)

References