Out-of-bounds Write Affecting clamav package, versions <0.103.6+dfsg-0+deb11u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-CLAMAV-2808539
  • published5 May 2022
  • disclosed10 Aug 2022

Introduced: 5 May 2022

CVE-2022-20792  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:11 clamav to version 0.103.6+dfsg-0+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream clamav package and not the clamav package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an authenticated, local attacker to crash ClamAV at database load time, and possibly gain code execution. The vulnerability is due to improper bounds checking that may result in a multi-byte heap buffer overwflow write. An attacker could exploit this vulnerability by placing a crafted CDB ClamAV signature database file in the ClamAV database directory. An exploit could allow the attacker to run code as the clamav user.

CVSS Scores

version 3.1