7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
7.5 High
AI Score
Confidence
High
0.001 Low
EPSS
Percentile
27.0%
A vulnerability in the filesystem image parser for Hierarchical File System Plus (HFS+) of ClamAV could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. This vulnerability is due to an incorrect check for completion when a file is decompressed, which may result in a loop condition that could cause the affected software to stop responding. An attacker could exploit this vulnerability by submitting a crafted HFS+ filesystem image to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to cause the ClamAV scanning process to stop responding, resulting in a DoS condition on the affected software and consuming available system resources. For a description of this vulnerability, see the ClamAV blog.
Note that Nessus has not tested for these issues but has instead relied only on the application’s self-reported version number.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(180465);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/02/08");
script_cve_id("CVE-2023-20197");
script_xref(name:"IAVB", value:"2023-B-0062-S");
script_name(english:"ClamAV < 0.103.9 / 1.0.x < 1.0.2 / 1.1.x < 1.1.1 DoS");
script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch.");
script_set_attribute(attribute:"description", value:
"A vulnerability in the filesystem image parser for Hierarchical File System Plus (HFS+) of ClamAV could allow an
unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. This vulnerability is
due to an incorrect check for completion when a file is decompressed, which may result in a loop condition that could
cause the affected software to stop responding. An attacker could exploit this vulnerability by submitting a crafted HFS+
filesystem image to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to cause the
ClamAV scanning process to stop responding, resulting in a DoS condition on the affected software and consuming
available system resources. For a description of this vulnerability, see the ClamAV blog.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://blog.clamav.net/2023/07/2023-08-16-releases.html");
script_set_attribute(attribute:"solution", value:
"Upgrade to ClamAV 0.103.9, 1.0.2, 1.1.1 or later");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-20197");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2023/08/15");
script_set_attribute(attribute:"patch_publication_date", value:"2023/08/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2023/09/04");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:clamav:clamav");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("clamav_detect.nasl", "clamav_installed.nbin");
script_require_keys("installed_sw/ClamAV");
exit(0);
}
include('vcf.inc');
var app_info = vcf::combined_get_app_info(app:'ClamAV');
var constraints = [
{ 'min_version':'0.103.0', 'fixed_version':'0.103.9' },
# There is no fixed version for 0.104.x as it is EOL
# https://blog.clamav.net/2023/03/clamav-eol-of-0104x-versions.html
{ 'min_version':'0.104.0', 'fixed_version':'0.105.3', 'fixed_display':'1.0.2, 1.1.1 or later' },
{ 'min_version':'1.0.0', 'fixed_version':'1.0.2' },
{ 'min_version':'1.1.0', 'fixed_version':'1.1.1' }
];
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
7.5 High
AI Score
Confidence
High
0.001 Low
EPSS
Percentile
27.0%