macOS 12.x < 12.6.2 Multiple Vulnerabilities (HT213533)

critical Nessus Plugin ID 168669

Synopsis

The remote host is missing a macOS update that fixes multiple vulnerabilities

Description

The remote host is running a version of macOS / Mac OS X that is 12.x prior to 12.6.2. It is, therefore, affected by multiple vulnerabilities:

- An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault. (CVE-2022-40303)

- An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked. (CVE-2022-40304)

- The issue was addressed with improved memory handling. (CVE-2022-32942, CVE-2022-42840, CVE-2022-42842, CVE-2022-42845, CVE-2022-42854)

- A logic issue was addressed with improved checks. (CVE-2022-42821)

- A type confusion issue was addressed with improved checks. (CVE-2022-42841)

- A logic issue was addressed with improved state management. (CVE-2022-42855)

- This issue was addressed with improved checks. (CVE-2022-42861)

- A race condition was addressed with improved state handling. (CVE-2022-42864)

- A race condition was addressed with additional validation. (CVE-2022-46689)

Note that Nessus has not tested for these issues but has instead relied only on the operating system's self-reported version number.

Solution

Upgrade to macOS 12.6.2 or later.

See Also

https://support.apple.com/en-us/HT213533

Plugin Details

Severity: Critical

ID: 168669

File Name: macos_HT213533.nasl

Version: 1.9

Type: local

Agent: macosx

Published: 12/13/2022

Updated: 2/3/2023

Supported Sensors: Nessus Agent

Risk Information

VPR

Risk Factor: Critical

Score: 9.8

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-42842

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:apple:mac_os_x, cpe:/o:apple:macos

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/13/2022

Vulnerability Publication Date: 10/31/2022

Exploitable With

Metasploit (macOS Dirty Cow Arbitrary File Write Local Privilege Escalation)

Reference Information

CVE: CVE-2022-32942, CVE-2022-40303, CVE-2022-40304, CVE-2022-42821, CVE-2022-42840, CVE-2022-42841, CVE-2022-42842, CVE-2022-42845, CVE-2022-42854, CVE-2022-42855, CVE-2022-42861, CVE-2022-42864, CVE-2022-46689, CVE-2022-46704

APPLE-SA: HT213533

IAVA: 2022-A-0524-S