Skip to content
OpenAdvisories
High · 7.8 CVE-2022-20792 EUVD-2022-26042GHSA-c59m-xfxc-m38p

A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 …

Published Aug 10, 2022 · Updated Nov 1, 2024 · Assigned by cisco

Description

A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an authenticated, local attacker to crash ClamAV at database load time, and possibly gain code execution. The vulnerability is due to improper bounds checking that may result in a multi-byte heap buffer overwflow write. An attacker could exploit this vulnerability by placing a crafted CDB ClamAV signature database file in the ClamAV database directory. An exploit could allow the attacker to run code as the clamav user.

Affected products

VendorProductAffectedFixed
Cisco Clam AntiVirus (ClamAV) unspecified – ≤ 0.104.2, 0.104.0 – < unspecified, unspecified – ≤ 0.103.5 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 clamav 0.103.6+dfsg-1 —
Debian 13 clamav 0.103.6+dfsg-1 —
Debian 12 clamav 0.103.6+dfsg-1 —
Debian 9 clamav 0.103.6+dfsg-0+deb9u1 DLA-3042-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS clamav 0.103.6+dfsg-0ubuntu0.22.04.1 USN-5423-1
Ubuntu 20.04 LTS clamav 0.103.6+dfsg-0ubuntu0.20.04.1 USN-5423-1
Ubuntu 18.04 LTS clamav 0.103.6+dfsg-0ubuntu0.18.04.1 USN-5423-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS clamav 0.103.6+dfsg-0ubuntu0.16.04.1+esm1 USN-5423-2
Ubuntu Pro 14.04 LTS clamav 0.103.6+dfsg-0ubuntu0.14.04.1+esm1 USN-5423-2
ReleasePackageFixed inAdvisory
SLES 15 SP4 clamav 0.103.6-150000.3.38.1 SUSE-SU-2022:1644-1
SLES 15 SP3 clamav 0.103.6-150000.3.38.1 SUSE-SU-2022:1644-1
SLES 12 SP5 clamav 0.103.6-3.18.1 SUSE-SU-2022:1647-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 clamav 0.103.6-3.18.1 SUSE-SU-2022:1647-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed clamav 0.103.6-1.1 openSUSE-SU-2024:12047-1
openSUSE Leap 15.4 clamav 0.103.6-150000.3.38.1 SUSE-SU-2022:1644-1
openSUSE Leap 15.3 clamav 0.103.6-150000.3.38.1 SUSE-SU-2022:1644-1
ReleasePackageFixed inAdvisory
Alpine v3.13 clamav 0.103.6-r0 —
Alpine v3.12 clamav 0.103.6-r0 —

Advisories 6

References