CVE-2022-20792

Name
CVE-2022-20792
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CISCO https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html
GENTOO https://security.gentoo.org/glsa/202310-01

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* clamav >= 0.104.0 <= 0.104.2
cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* clamav >= None <= 0.103.5

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
clamav 3.13-main 0.103.6-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
clamav 3.12-main 0.103.6-r0 Carlo Landmeter <clandmeter@gmail.com> fixed