CVE-2023-20212
High · 7.5CVSS
7.5
EPSS
3.4%
Published
Aug 18, 2023
CISA due date
—
Cloudanix analysis
A flaw in virus-scanning software lets a specially made file crash the scanner, briefly stopping protection until it restarts.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Logic error in AutoIt module memory management allows a crafted file submission to trigger an unexpected restart of the ClamAV scanning process.
Why it matters to the business
Scanning services become intermittently unavailable, delaying malware detection and potentially exposing systems to unfiltered threats during restarts.
How an attack unfolds
An attacker crafts a malicious AutoIt file and submits it for scanning by ClamAV; the memory management flaw causes the scanner to restart, achieving denial of service without authentication.
How to fix it
Upgrade affected ClamAV installations to a version containing the memory management fix; monitor vendor advisories for the exact patch release after 2023-08-18.
How to confirm the fix worked
Submit known test AutoIt files that previously triggered restarts; confirm the scanning process remains stable and review release notes for the memory management correction.
Typical attack path
- Identify a reachable ClamAV instance accepting file scans
- Prepare and submit a specially crafted AutoIt file
- Trigger the memory logic error during parsing
- Observe repeated scanning process restarts
How to detect it
Review ClamAV process logs and system event logs for repeated unexpected restarts correlated with AutoIt file scan entries; look for spikes in file submissions immediately preceding crashes.
What your security team should do
- Prioritize patching ClamAV instances exposed to untrusted file uploads within the next 30 days
- Implement file-type filtering or sandboxing for AutoIt submissions until patched
- Enable process monitoring and automatic restart alerts for the ClamAV daemon
The record
A vulnerability in the AutoIt module of ClamAV could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. This vulnerability is due to a logic error in the memory management of an affected device. An attacker could exploit this vulnerability by submitting a crafted AutoIt file to be scanned by ClamAV on the affected device. A successful exploit could allow the attacker to cause the ClamAV scanning process to restart unexpectedly, resulting in a DoS condition.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | clamav | 0 | 1.0.2+dfsg-1~deb12u1 |
| Debian:13 | clamav | 0 | 1.0.2+dfsg-1 |
| Mageia:8 | clamav | 0 | 0.103.10-1.mga8 |
| Mageia:9 | clamav | 0 | 1.0.3-1.mga9 |
| Ubuntu:20.04:LTS | clamav | 0 | 0.103.8+dfsg-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | clamav | 0 | 0.103.8+dfsg-0ubuntu0.22.04.1 |
Related vulnerabilities
- HSEC-2024-0002 out-of-bounds write when there are many bzip2 selectors Also affects clamav
- CVE-2025-20128 A vulnerability in the Object Linking and Embedding 2 (OLE2) decryption routine of ClamAV… Also affects clamav
- CVE-2024-20506 A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0… Also affects clamav
- CVE-2024-20505 A vulnerability in the PDF parsing module of Clam AntiVirus (ClamAV) versions 1.4.0… Also affects clamav
- CVE-2024-20328 A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to… Also affects clamav
- CVE-2024-20290 A vulnerability in the OLE2 file format parser of ClamAV could allow an unauthenticated… Also affects clamav
- CVE-2023-20197 A vulnerability in the filesystem image parser for Hierarchical File System Plus (HFS+)… Also affects clamav
- CVE-2023-20052 On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was… Also affects clamav