Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libcommons-compress-java package, versions <1.18-2+deb10u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIAN10-LIBCOMMONSCOMPRESSJAVA-460364
  • 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?

Upgrade Debian:10 libcommons-compress-java to version 1.18-2+deb10u1 or higher.

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 Debian. See How to fix? for Debian:10 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