CVE-2024-20328

NameCVE-2024-20328
DescriptionA vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject arbitrary commands with the privileges of the application service account.The vulnerability is due to unsafe handling of file names. A local attacker could exploit this vulnerability by supplying a file name containing command-line sequences. When processed on a system using configuration options for the VirusEvent feature, the attacker could cause the application to execute arbitrary commands. ClamAV has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1063479

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
clamav (PTS)jessie, jessie (lts)0.103.12+dfsg-0+deb8u1fixed
stretch (security)0.103.6+dfsg-0+deb9u1fixed
stretch (lts), stretch0.103.12+dfsg-0+deb9u1fixed
buster, buster (lts)1.0.7+dfsg-1~deb10u1fixed
buster (security)0.103.9+dfsg-0+deb10u1fixed
bullseye0.103.10+dfsg-0+deb11u1fixed
bullseye (security)1.0.7+dfsg-1~deb11u2fixed
bookworm1.0.7+dfsg-1~deb12u1fixed
sid, trixie1.4.1+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
clamavsourcejessie(not affected)
clamavsourcestretch(not affected)
clamavsourcebuster(not affected)
clamavsourcebullseye(not affected)
clamavsourcebookworm1.0.5+dfsg-1~deb12u1
clamavsource(unstable)1.0.5+dfsg-11063479

Notes

[bullseye] - clamav <not-affected> (Vulnerable code not present)
[buster] - clamav <not-affected> (Vulnerable code not present)
https://blog.clamav.net/2023/11/clamav-130-122-105-released.html
[stretch] - clamav <not-affected> (Vulnerable code not present)
[jessie] - clamav <not-affected> (Vulnerable code not present)

Search for package or bug name: Reporting problems