CVE-2023-20032

NameCVE-2023-20032
DescriptionOn Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the HFS+ partition file parser of ClamAV versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier could allow an unauthenticated, remote attacker to execute arbitrary code. This vulnerability is due to a missing buffer size check that may result in a heap buffer overflow write. An attacker could exploit this vulnerability by submitting a crafted HFS+ partition file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to execute arbitrary code with the privileges of the ClamAV scanning process, or else crash the process, resulting in a denial of service (DoS) condition. For a description of this vulnerability, see the ClamAV blog ["https://blog.clamav.net/"].
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3328-1, ELA-801-1
Debian Bugs1031509

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+deb9u1vulnerable
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
clamavsourcejessie0.103.8+dfsg-0+deb8u1ELA-801-1
clamavsourcestretch0.103.8+dfsg-0+deb9u1ELA-801-1
clamavsourcebuster0.103.8+dfsg-0+deb10u1DLA-3328-1
clamavsourcebullseye0.103.8+dfsg-0+deb11u1
clamavsource(unstable)1.0.1+dfsg-11031509

Notes

https://blog.clamav.net/2023/02/clamav-01038-01052-and-101-patch.html
https://github.com/google/security-research/security/advisories/GHSA-r6g3-3wqj-m3c8

Search for package or bug name: Reporting problems