Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libarchive-debuginfo package, versions <0:3.1.2-12.12.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.65% (88th 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-AMZN201803-LIBARCHIVEDEBUGINFO-1719815
  • published27 Sept 2021
  • disclosed4 Feb 2019

Introduced: 4 Feb 2019

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

How to fix?

Upgrade Amazon-Linux:2018.03 libarchive-debuginfo to version 0:3.1.2-12.12.amzn1 or higher.
This issue was patched in ALAS-2019-1308.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive-debuginfo package and not the libarchive-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

libarchive version commit 5a98dcf8a86364b3c2c469c85b93647dfb139961 onwards (version v2.8.0 onwards) contains a CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in ISO9660 parser, archive_read_support_format_iso9660.c, read_CE()/parse_rockridge() that can result in DoS by infinite loop. This attack appears to be exploitable via the victim opening a specially crafted ISO9660 file.

CVSS Scores

version 3.1