CVE-2024-20290
High · 7.5CVSS
7.5
EPSS
33.3%
Published
Feb 7, 2024
CISA due date
—
Cloudanix analysis
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
- Identify a reachable scanning endpoint accepting OLE2 content
- Generate a specially crafted OLE2 file exploiting the end-of-string check flaw
- Submit the file to trigger the heap over-read
- 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
- 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-2025-20128 A vulnerability in the Object Linking and Embedding 2 (OLE2) decryption routine of ClamAV… Also affects clamav-clamdscan
- HSEC-2024-0002 out-of-bounds write when there are many bzip2 selectors Also affects clamav
- CVE-2023-20212 A vulnerability in the AutoIt module of ClamAV could allow an unauthenticated, remote… 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