CVE-2022-20785ClamAV HTML Scanning Memory Leak Vulnerability Affecting Cisco Products: April 2022
On April 20, 2022, the following vulnerability in the ClamAV scanning library versions 0.103.5 and earlier and 0.104.2 and earlier was disclosed: A vulnerability in HTML file parser of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. For a description of this vulnerability, see the ClamAV blog. This advisory will be updated as additional information becomes available.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | clamav | Fixed | 0.103.6+dfsg-0ubuntu0.22.04.1 | UBUNTU-CVE-2022-20785 |
| Ubuntu 20.04 | clamav | Fixed | 0.103.6+dfsg-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-20785 |
| Ubuntu 18.04 | clamav | Fixed | 0.103.6+dfsg-0ubuntu0.18.04.1 | UBUNTU-CVE-2022-20785 |
| Ubuntu 16.04 | clamav | Fix pending | 0.103.6+dfsg-0ubuntu0.16.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-20785 |
| Ubuntu 14.04 | clamav | Fix pending | 0.103.6+dfsg-0ubuntu0.14.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-20785 |
| Debian 14 | clamav | Fixed | 0.103.6+dfsg-1 | DEBIAN-CVE-2022-20785 |
| Debian 13 | clamav | Fixed | 0.103.6+dfsg-1 | DEBIAN-CVE-2022-20785 |
| Debian 12 | clamav | Fixed | 0.103.6+dfsg-1 | DEBIAN-CVE-2022-20785 |
| Alpine Linux 3.13 | clamav | Fixed | 0.103.6-r0 | ALPINE-CVE-2022-20785 |
| Alpine Linux 3.12 | clamav | Fixed | 0.103.6-r0 | ALPINE-CVE-2022-20785 |
What the vendor says
As published in the CVE record by cisco, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cisco AMP for Endpoints: affected: n/a
Vendor advisories:
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-clamav-htm… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202310-01 (vendor-advisory)
References
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-clamav-html-XAuOK8mR
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7RV6BLIATIJE74SQ6NG5ZC4JK5MMDQ2R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N4NNBIJVG6Z4PDIKUZXTYXICYUAYAZ56/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BX5ZXNHP4NFYQ5BFSKY3WT7NTBZUYG7L/
- https://lists.debian.org/debian-lts-announce/2022/06/msg00004.html
- https://security.gentoo.org/glsa/202310-01
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.