CVE-2022-20698 Clam AntiVirus (ClamAV) Denial of Service Vulnerability

High 7.5 Published Updated

Remote attackers can crash the ClamAV scanning process by sending a crafted OOXML file, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-20698?

CVE-2022-20698 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 14 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in the OOXML parsing module in Clam AntiVirus (ClamAV) Software version 0.104.1 and LTS version 0.103.4 and prior versions could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to improper checks that may result in an invalid pointer read. An attacker could exploit this vulnerability by sending a crafted OOXML file to an affected device. An exploit could allow the attacker to cause the ClamAV scanning process to crash, resulting in a denial of service condition.

Weakness: CWE-125, CWE-20

Which versions are affected by CVE-2022-20698?

It affects 3 products.

Linux distribution packages (39)
clamav SUSE:Enterprise Storage 6All versions0.103.5-3.35.1
clamav SUSE:Enterprise Storage 7All versions0.103.5-3.35.1
clamav SUSE:HPE Helion OpenStack 8All versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Point of Sale 11 SP3All versions0.103.5-0.20.44.1
clamav SUSE:Linux Enterprise Real Time 15 SP2All versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions0.103.5-0.20.44.1
clamav-openssl1 SUSE:Linux Enterprise Server 11-SECURITYAll versions0.103.5-0.20.44.1
clamav SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server 12 SP3-BCLAll versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server 12 SP5All versions0.103.5-3.15.1
clamav SUSE:Linux Enterprise Server 15 SP1-BCLAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server 15 SP2-BCLAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server 15-LTSSAll versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.103.5-33.44.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.103.5-3.15.1
clamav SUSE:Linux Enterprise Server for SAP Applications 15All versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions0.103.5-3.35.1
clamav SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions0.103.5-3.35.1
clamav SUSE:Manager Proxy 4.1All versions0.103.5-3.35.1
clamav SUSE:Manager Retail Branch Server 4.1All versions0.103.5-3.35.1
clamav SUSE:Manager Server 4.1All versions0.103.5-3.35.1
clamav SUSE:OpenStack Cloud 8All versions0.103.5-33.44.1
clamav SUSE:OpenStack Cloud 9All versions0.103.5-33.44.1
clamav SUSE:OpenStack Cloud Crowbar 8All versions0.103.5-33.44.1
clamav SUSE:OpenStack Cloud Crowbar 9All versions0.103.5-33.44.1
clamav openSUSE:Leap 15.3All versions0.103.5-3.35.1
clamav openSUSE:TumbleweedAll versions0.103.5-1.1

Products include Canonical Ubuntu Linux, Clamav Clamav, Debian Debian Linux.

How do I fix CVE-2022-20698?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-20698 being exploited?

There is no known exploitation of CVE-2022-20698 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-20698, AZL-7532, CLEANSTART-2026-XS23494, DEBIAN-CVE-2022-20698, GHSA-q493-fq52-3qhm, MGASA-2022-0024 and 10 more.

Is CVE-2022-20698 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free