Vulnerability Name:

CVE-2022-20792 (CCN-233225)

Assigned:2021-11-02
Published:2022-05-04
Updated:2022-08-12
Summary: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 v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-20792

Source: CCN
Type: ClamAV Blog, Wednesday, May 4, 2022
ClamAV 0.105.0, 0.104.3, 0.103.6 released

Source: CISCO
Type: Release Notes, Vendor Advisory
https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html

Source: XF
Type: UNKNOWN
clamav-cve202220792-bo(233225)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:clamav:clamav:*:*:*:*:*:*:*:* (Version >= 0.104.0 and <= 0.104.2)
  • OR cpe:/a:clamav:clamav:*:*:*:*:*:*:*:* (Version <= 0.103.5)

  • Configuration CCN 1:
  • cpe:/a:clamav:clamav:0.103.5:*:*:*:*:*:*:*
  • OR cpe:/a:clamav:clamav:0.104.2:*:*:*:*:*:*:*
  • OR cpe:/a:clamav:clamav:0.104.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7463
    P
    clamav-0.103.8-150000.3.44.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3599
    P
    libgoa-1_0-0-3.20.8-10.4.50 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:886
    P
    Security update for clamav (Important)
    2022-05-12
    oval:org.opensuse.security:def:476
    P
    Security update for clamav (Important)
    2022-05-12
    oval:org.opensuse.security:def:95229
    P
    Security update for clamav (Important)
    2022-05-12
    oval:org.opensuse.security:def:6032
    P
    Security update for clamav (Important)
    2022-05-12
    BACK
    clamav clamav *
    clamav clamav *
    clamav clamav 0.103.5
    clamav clamav 0.104.2
    clamav clamav 0.104.0 -