Cloudanix VulnDB

CVE-2024-20290

High · 7.5

CVSS

7.5

EPSS

33.3%

Published

Feb 7, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in file scanning software lets attackers send a specially made file that crashes the scanner, stopping it from checking other files until someone restarts it.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap buffer over-read in OLE2 file format parser due to incorrect end-of-string check, causing the scanning process to terminate.

Why it matters to the business

Disrupts file scanning operations across environments using the affected software, leading to service unavailability and wasted system resources until the process is restarted.

How an attack unfolds

An attacker crafts a malicious OLE2 file and submits it for scanning by the vulnerable parser; the malformed end-of-string handling triggers a heap over-read that crashes the scanner.

How to fix it

Upgrade gnutls/gnutls (GIT) to commit df405c5e64874529b7b9dc1177165f03971dc196 or later; restart affected scanning services after applying the update.

How to confirm the fix worked

Confirm the running version reports the fixed commit hash; test scanning of known-good and crafted OLE2 samples to verify the process no longer crashes.

Typical attack path

  1. Identify a reachable scanning endpoint accepting OLE2 content
  2. Generate a specially crafted OLE2 file exploiting the end-of-string check flaw
  3. Submit the file to trigger the heap over-read
  4. Observe termination of the scanning process and resulting denial of service

How to detect it

Review scanner process logs and system crash reports for abrupt terminations during OLE2 file handling; correlate with file submission timestamps and resource exhaustion events.

What your security team should do

  • Apply the gnutls commit df405c5e64874529b7b9dc1177165f03971dc196 immediately on all instances
  • Monitor scanning service health and resource usage for unexpected terminations
  • Review and harden file submission paths to limit untrusted OLE2 content until patched

The record

A vulnerability in the OLE2 file format parser 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 an incorrect check for end-of-string values during scanning, which may result in a heap buffer over-read. An attacker could exploit this vulnerability by submitting a crafted file containing OLE2 content to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to cause the ClamAV scanning process to terminate, resulting in a DoS condition on the affected software and consuming available system resources. For a description of this vulnerability, see the ClamAV blog .

Affected packages

Ecosystem Package Introduced Fixed
Chainguard clamav 0 1.3.0-r0
Chainguard clamav-1.3 0 1.3.0-r0
Chainguard clamav-1.3-clamdscan 0 1.3.0-r0
Chainguard clamav-1.3-daemon 0 1.3.0-r0
Chainguard clamav-1.3-db 0 1.3.0-r0
Chainguard clamav-1.3-dev 0 1.3.0-r0
Chainguard clamav-1.3-doc 0 1.3.0-r0
Chainguard clamav-1.3-freshclam 0 1.3.0-r0
Chainguard clamav-1.3-libunrar 0 1.3.0-r0
Chainguard clamav-1.3-milter 0 1.3.0-r0
Chainguard clamav-1.3-scanner 0 1.3.0-r0
Chainguard clamav-clamdscan 0 1.3.0-r0
Chainguard clamav-daemon 0 1.3.0-r0
Chainguard clamav-db 0 1.3.0-r0
Chainguard clamav-dev 0 1.3.0-r0
Chainguard clamav-doc 0 1.3.0-r0
Chainguard clamav-libunrar 0 1.3.0-r0
Chainguard clamav-milter 0 1.3.0-r0
Chainguard clamav-scanner 0 1.3.0-r0
Chainguard freshclam 0 1.3.0-r0
Debian:12 clamav 0 1.0.5+dfsg-1~deb12u1
Debian:13 clamav 0 1.0.5+dfsg-1
Mageia:9 clamav 0 1.0.5-1.mga9
Ubuntu:20.04:LTS clamav 0 0.103.11+dfsg-0ubuntu0.20.04.1
Ubuntu:22.04:LTS clamav 0 0.103.11+dfsg-0ubuntu0.22.04.1
Ubuntu:23.10 clamav 0 1.0.5+dfsg-0ubuntu0.23.10.1
Ubuntu:24.04:LTS clamav 0 1.0.5+dfsg-1ubuntu1
Wolfi clamav 0 1.3.0-r0
Wolfi clamav-1.3 0 1.3.0-r0
Wolfi clamav-1.3-clamdscan 0 1.3.0-r0
Wolfi clamav-1.3-daemon 0 1.3.0-r0
Wolfi clamav-1.3-db 0 1.3.0-r0
Wolfi clamav-1.3-dev 0 1.3.0-r0
Wolfi clamav-1.3-doc 0 1.3.0-r0
Wolfi clamav-1.3-freshclam 0 1.3.0-r0
Wolfi clamav-1.3-libunrar 0 1.3.0-r0
Wolfi clamav-1.3-milter 0 1.3.0-r0
Wolfi clamav-1.3-scanner 0 1.3.0-r0
Wolfi clamav-clamdscan 0 1.3.0-r0
Wolfi clamav-daemon 0 1.3.0-r0
Wolfi clamav-db 0 1.3.0-r0
Wolfi clamav-dev 0 1.3.0-r0
Wolfi clamav-doc 0 1.3.0-r0
Wolfi clamav-libunrar 0 1.3.0-r0
Wolfi clamav-milter 0 1.3.0-r0
Wolfi clamav-scanner 0 1.3.0-r0
Wolfi freshclam 0 1.3.0-r0

Related vulnerabilities