OS Command Injection in ClamAV - CVE-2024-20328

 

OS Command Injection in ClamAV - CVE-2024-20328

Published: February 7, 2024 / Updated: February 8, 2024


Vulnerability identifier: #VU86229
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-20328
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the "VirusEvent" feature. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

ClamAV
Gentoo Linux
Fedora
Ubuntu
clamav (Ubuntu package)
clamav
app-antivirus/clamav

How to mitigate CVE-2024-20328

Install updates from vendor's website.

ClamAV - addressed in versions 1.0.5, 1.2.2
clamav (Ubuntu package) - update to 1.0.5+dfsg-0ubuntu0.23.10.1
clamav - addressed in versions 1.0.5-1.el9, 1.0.5-1.fc38, 1.0.5-1.fc39
app-antivirus/clamav - update to 1.4.1

External References

Related Security Bulletins