Loop with Unreachable Exit Condition ('Infinite Loop') Affecting apache-commons-compress package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
11.57% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-APACHECOMMONSCOMPRESS-1967188
  • published26 Jul 2021
  • disclosed13 Jul 2021

Introduced: 13 Jul 2021

CVE-2021-35515  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 apache-commons-compress.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-commons-compress package and not the apache-commons-compress package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1