Advisory

UBUNTU-CVE-2022-20792

Also known as: CVE-2022-20792

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-05-07 00:00 UTC
Modified
2026-04-22 13:15 UTC

Affected packages and fixes

clamav

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.103.6+dfsg-0ubuntu0.18.04.1 (ecosystem)

Fixed versions

0.103.6+dfsg-0ubuntu0.18.04.1

Fix

  • Fixed version 0.103.6+dfsg-0ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

clamav

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.103.6+dfsg-0ubuntu0.20.04.1 (ecosystem)

Fixed versions

0.103.6+dfsg-0ubuntu0.20.04.1

Fix

  • Fixed version 0.103.6+dfsg-0ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

clamav

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.103.6+dfsg-0ubuntu0.22.04.1 (ecosystem)

Fixed versions

0.103.6+dfsg-0ubuntu0.22.04.1

Fix

  • Fixed version 0.103.6+dfsg-0ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences