CVE-2023-20032CWE-120

On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the HFS+ partition file parser of ClamAV…

Critical · published February 16, 2023

CVSS v3.1
9.8
EPSS
29%
Percentile
98.2
In the wild
Unconfirmed
What it is

🚨 A missing buffer size check in ClamAV can turn your scanning process into a hacker's playground! 🔥 Think of it like a restaurant kitchen where a chef accepts any ingredient without checking the quantity — too much could overflow and ruin the whole dish. In this case, an attacker can feed ClamAV a crafted file that overflows a buffer, leading to serious consequences. If successful, an attacker could execute arbitrary code with all the privileges of the ClamAV process or crash it entirely, causing a denial of service. This is absolutely devastating for security, as it could lead to unauthorized access or total service disruption.

Put simply

Think of it like a restaurant kitchen where a chef accepts any ingredient without checking the quantity — too much could overflow and ruin the whole dish. In this case, an attacker can feed ClamAV a crafted file that overflows a buffer, leading to serious consequences. This vulnerability in ClamAV's HFS+ partition file parser allows an unauthenticated remote attacker to exploit a heap buffer overflow due to a missing size check, creating avenues for executing arbitrary code.

What to do

If successful, an attacker could execute arbitrary code with all the privileges of the ClamAV process or crash it entirely, causing a denial of service. This is absolutely devastating for security, as it could lead to unauthorized access or total service disruption. Patch ClamAV immediately to version 1.0.1 or later, 0.105.2 or later, or 0.103.8 or later to mitigate this vulnerability. Regularly audit your file scanning processes to ensure they're secure against crafted inputs. You've got this! By taking these steps, you can lock down your systems and keep them safe. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.29314 · 98.2th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2023-02-16T15:24Z
EPSS history
Timeline
  • 16 FEB 15:24Z
    On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the HFS+ partition file parser of ClamAV…
    cvelistv5