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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
16.16% (97th 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-UBUNTU1804-LIBCOMMONSCOMPRESSJAVA-469170
  • published28 Aug 2019
  • disclosed30 Aug 2019

Introduced: 28 Aug 2019

CVE-2019-12402  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 libcommons-compress-java.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcommons-compress-java package and not the libcommons-compress-java package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.

References

CVSS Base Scores

version 3.1