Infinite loop in ClamAV - CVE-2022-20771

 

Infinite loop in ClamAV - CVE-2022-20771

Published: May 4, 2022 / Updated: November 22, 2022


Vulnerability identifier: #VU62802
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-20771
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the TIFF file parser. A remote attacker can consume all available system resources and cause denial of service conditions.


Affected software

ClamAV
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Proxy
Fedora
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
openEuler
SecurID Authentication Manager
Zimbra Collaboration
clamav (Ubuntu package)
clamav
clamav-milter
clamav-help
clamav-devel
clamav-debugsource
clamav-debuginfo
clamav-update
clamd
clamav-data
clamav-filesystem
libfreshclam2-debuginfo
libfreshclam2
libclamav9-debuginfo
libclamav9
app-antivirus/clamav

How to mitigate CVE-2022-20771

Install updates from vendor's website.

ClamAV - addressed in versions 0.103.6, 0.104.3
SecurID Authentication Manager - update to 8.7 Patch 1
Zimbra Collaboration - addressed in versions 8.8.15 Patch 35, 9.0.0 Patch 28
clamav (Ubuntu package) - addressed in versions 0.103.6+dfsg0ubuntu0.16.04.1+esm1, 0.103.6+dfsg-0ubuntu0.18.04.1, 0.103.6+dfsg-0ubuntu0.20.04.1, 0.103.6+dfsg-0ubuntu0.21.10.1, 0.103.6+dfsg-0ubuntu0.22.04.1
clamav - addressed in versions 0.103.6-1.el7, 0.103.6-1.el8, 0.103.6-1.el9, 0.103.6-1.fc34, 0.103.6-1.fc35, 0.103.6-1.fc36
clamav - addressed in versions 0.103.6-1.49, 0.103.7-1
clamav-milter - update to 0.103.6-3
clamav-help - update to 0.103.6-3
clamav-devel - update to 0.103.6-3
clamav-debugsource - update to 0.103.6-3
clamav-debuginfo - update to 0.103.6-3
clamav - update to 0.103.6-3
clamav-update - update to 0.103.6-3
clamd - update to 0.103.6-3
clamav-data - update to 0.103.6-3
clamav-filesystem - update to 0.103.6-3
clamav-debugsource - addressed in versions 0.103.6-3.18.1, 0.103.6-150000.3.38.1
clamav-debuginfo - addressed in versions 0.103.6-3.18.1, 0.103.6-150000.3.38.1
clamav - addressed in versions 0.103.6-3.18.1, 0.103.6-150000.3.38.1
libfreshclam2-debuginfo - update to 0.103.6-150000.3.38.1
libfreshclam2 - update to 0.103.6-150000.3.38.1
libclamav9-debuginfo - update to 0.103.6-150000.3.38.1
libclamav9 - update to 0.103.6-150000.3.38.1
clamav-devel - update to 0.103.6-150000.3.38.1
app-antivirus/clamav - update to 0.103.7

External References

Related Security Bulletins