Loop with Unreachable Exit Condition ('Infinite Loop') Affecting clamav-lib package, versions <0:0.103.9-1.amzn2.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (48th 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-AMZN2-CLAMAVLIB-5882139
  • published6 Sept 2023
  • disclosed16 Aug 2023

Introduced: 16 Aug 2023

CVE-2023-20197  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 clamav-lib to version 0:0.103.9-1.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-2233.

NVD Description

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

A vulnerability in the filesystem image parser for Hierarchical File System Plus (HFS+) of ClamAV could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device.

This vulnerability is due to an incorrect check for completion when a file is decompressed, which may result in a loop condition that could cause the affected software to stop responding. An attacker could exploit this vulnerability by submitting a crafted HFS+ filesystem image to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to cause the ClamAV scanning process to stop responding, resulting in a DoS condition on the affected software and consuming available system resources.

For a description of this vulnerability, see the ClamAV blog .

CVSS Scores

version 3.1