ClamAV HFS+ Parser Heap Overflow (<=1.0.0) RCE
CVE-2023-20032 Published on March 1, 2023
On 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/"].
Vulnerability Analysis
CVE-2023-20032 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Classic Buffer Overflow Vulnerability?
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.
CVE-2023-20032 has been classified to as a Classic Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2023-20032
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-20032 are published in these products:
Affected Versions
Cisco Secure Web Appliance:- Version 11.7.0-406 is affected.
- Version 11.7.0-418 is affected.
- Version 11.7.1-049 is affected.
- Version 11.7.1-006 is affected.
- Version 11.7.1-020 is affected.
- Version 11.7.2-011 is affected.
- Version 11.8.0-414 is affected.
- Version 11.8.1-023 is affected.
- Version 11.8.3-018 is affected.
- Version 11.8.3-021 is affected.
- Version 12.0.1-268 is affected.
- Version 12.0.3-007 is affected.
- Version 12.5.2-007 is affected.
- Version 12.5.1-011 is affected.
- Version 12.5.4-005 is affected.
- Version 12.5.5-004 is affected.
- Version 14.5.0-498 is affected.
- Version 14.0.3-014 is affected.
- Version 14.0.2-012 is affected.
- Version 6.1.9 is affected.
- Version 6.2.5 is affected.
- Version 6.3.7 is affected.
- Version 6.3.3 is affected.
- Version 7.0.5 is affected.
- Version 7.1.1 is affected.
- Version 1.12.1 is affected.
- Version 1.12.2 is affected.
- Version 1.12.3 is affected.
- Version 1.12.7 is affected.
- Version 1.12.4 is affected.
- Version 1.11.0 is affected.
- Version 1.10.2 is affected.
- Version 1.10.0 is affected.
- Version 1.14.0 is affected.
- Version 1.6.0 is affected.
- Version 1.9.0 is affected.
- Version 1.8.1 is affected.
- Version 1.8.0 is affected.
- Version 1.7.0 is affected.
- Version 7.2.13 is affected.
- Version 7.3.5 is affected.
- Version N/A is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.