The remote host is running a version of macOS / Mac OS X that is 12.x prior to 12.1 Monterey. It is, therefore, affected by multiple vulnerabilities including the following:
A buffer overflow issue was addressed with improved memory handling. Processing a maliciously crafted USD file may lead to unexpected application termination or arbitrary code execution. (CVE-2021-30979)
An out-of-bounds read was addressed with improved input validation. Playing a malicious audio file may lead to arbitrary code execution. (CVE-2021-30958)
An out-of-bounds write issue was addressed with improved bounds checking. Processing a maliciously crafted USD file may disclose memory contents. (CVE-2021-30929)
Note that Nessus has not tested for this issue but has instead relied only on the operating systemโs self-reported version number.
#%NASL_MIN_LEVEL 70300
##
# (C) Tenable Network Security, Inc.
##
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(156230);
script_version("1.8");
script_set_attribute(attribute:"plugin_modification_date", value:"2023/03/23");
script_cve_id(
"CVE-2021-30767",
"CVE-2021-30926",
"CVE-2021-30927",
"CVE-2021-30929",
"CVE-2021-30934",
"CVE-2021-30936",
"CVE-2021-30937",
"CVE-2021-30938",
"CVE-2021-30939",
"CVE-2021-30940",
"CVE-2021-30941",
"CVE-2021-30942",
"CVE-2021-30945",
"CVE-2021-30946",
"CVE-2021-30947",
"CVE-2021-30949",
"CVE-2021-30950",
"CVE-2021-30951",
"CVE-2021-30952",
"CVE-2021-30953",
"CVE-2021-30954",
"CVE-2021-30955",
"CVE-2021-30957",
"CVE-2021-30958",
"CVE-2021-30960",
"CVE-2021-30964",
"CVE-2021-30965",
"CVE-2021-30966",
"CVE-2021-30968",
"CVE-2021-30970",
"CVE-2021-30971",
"CVE-2021-30973",
"CVE-2021-30975",
"CVE-2021-30976",
"CVE-2021-30977",
"CVE-2021-30979",
"CVE-2021-30980",
"CVE-2021-30981",
"CVE-2021-30982",
"CVE-2021-30984",
"CVE-2021-30986",
"CVE-2021-30987",
"CVE-2021-30990",
"CVE-2021-30993",
"CVE-2021-30995",
"CVE-2021-30996"
);
script_xref(name:"APPLE-SA", value:"HT212978");
script_xref(name:"APPLE-SA", value:"APPLE-SA-2021-12-15-2");
script_xref(name:"IAVA", value:"2021-A-0577-S");
script_name(english:"macOS 12.x < 12.1 (HT212978)");
script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a macOS security update.");
script_set_attribute(attribute:"description", value:
"The remote host is running a version of macOS / Mac OS X that is 12.x prior to 12.1 Monterey. It is, therefore,
affected by multiple vulnerabilities including the following:
- A buffer overflow issue was addressed with improved memory handling. Processing a maliciously crafted USD
file may lead to unexpected application termination or arbitrary code execution. (CVE-2021-30979)
- An out-of-bounds read was addressed with improved input validation. Playing a malicious audio file may
lead to arbitrary code execution. (CVE-2021-30958)
- An out-of-bounds write issue was addressed with improved bounds checking. Processing a maliciously
crafted USD file may disclose memory contents. (CVE-2021-30929)
Note that Nessus has not tested for this issue but has instead relied only on the operating system's self-reported
version number.");
script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-gb/HT212978");
script_set_attribute(attribute:"solution", value:
"Upgrade to macOS 12.1 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-30981");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2021-30953");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2021/12/13");
script_set_attribute(attribute:"patch_publication_date", value:"2021/12/13");
script_set_attribute(attribute:"plugin_publication_date", value:"2021/12/21");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:macos");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"MacOS X Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2021-2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl");
script_require_ports("Host/MacOSX/Version", "Host/local_checks_enabled", "Host/MacOSX/packages/boms");
exit(0);
}
include('vcf.inc');
include('vcf_extras_apple.inc');
var app_info = vcf::apple::macos::get_app_info();
var constraints = [{'min_version': '12.0', 'fixed_version': '12.1', 'fixed_display': 'macOS Monterey 12.1'}];
vcf::apple::macos::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_HOLE
);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30767
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30926
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30927
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30929
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30934
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30936
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30937
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30938
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30939
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30940
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30941
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30942
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30945
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30946
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30947
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30949
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30950
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30951
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30952
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30953
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30954
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30955
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30957
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30958
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30960
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30964
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30965
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30966
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30968
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30970
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30971
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30973
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30975
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30976
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30977
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30979
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30980
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30981
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30982
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30984
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30986
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30987
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30990
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30993
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30995
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30996
support.apple.com/en-gb/HT212978