Heap-based buffer overflow in ClamAV - CVE-2024-20290
Published: February 8, 2024
Vulnerability identifier: #VU86262
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-20290
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the OLE2 file format parser. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.
Affected software
ClamAV
Amazon Linux AMI
Gentoo Linux
Fedora
Ubuntu
clamav
clamav (Ubuntu package)
app-antivirus/clamav
Amazon Linux AMI
Gentoo Linux
Fedora
Ubuntu
clamav
clamav (Ubuntu package)
app-antivirus/clamav
How to mitigate CVE-2024-20290
Install updates from vendor's website.
ClamAV - addressed in versions 1.0.5, 1.2.2
clamav - update to 0.103.11-1
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
clamav - update to 0.103.11-1
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
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-clamav-hDffu6t
- https://github.com/Cisco-Talos/clamav-devel/releases/tag/clamav-1.0.5
- https://blog.clamav.net/2023/11/clamav-130-122-105-released.html
- https://github.com/Cisco-Talos/clamav-devel/releases/tag/clamav-1.2.2