Cloudanix VulnDB

CVE-2023-20212

High · 7.5

CVSS

7.5

EPSS

3.4%

Published

Aug 18, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Identify a reachable ClamAV instance accepting file scans
  2. Prepare and submit a specially crafted AutoIt file
  3. Trigger the memory logic error during parsing
  4. 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