macOS 13.x < 13.5 Multiple Vulnerabilities (HT213843)

critical Nessus Plugin ID 178753


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


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

- A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed. (CVE-2023-28319)

- A denial of service vulnerability exists in curl <v8.1.0 in the way libcurl provides several different backends for resolving host names, selected at build time. If it is built to use the synchronous resolver, it allows name resolves to time-out slow operations using `alarm()` and `siglongjmp()`. When doing this, libcurl used a global buffer that was not mutex protected and a multi-threaded application might therefore crash or otherwise misbehave. (CVE-2023-28320)

- An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed as Subject Alternative Name in TLS server certificates. curl can be built to use its own name matching function for TLS rather than one provided by a TLS library. This private wildcard matching function would match IDN (International Domain Name) hosts incorrectly and could as a result accept patterns that otherwise should mismatch. IDN hostnames are converted to puny code before used for certificate checks. Puny coded names always start with `xn--` and should not be allowed to pattern match, but the wildcard check in curl could still check for `x*`, which would match even though the IDN name most likely contained nothing even resembling an `x`. (CVE-2023-28321)

- An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously wasused to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the second transfer. The problem exists in the logic for a reused handle when it is (expected to be) changed from a PUT to a POST. (CVE-2023-28322)

- A vulnerability was found in openldap. This security flaw causes a null pointer dereference in ber_memalloc_x() function. (CVE-2023-2953)

- This issue was addressed with improved data protection. (CVE-2023-35983)

- A logic issue was addressed with improved restrictions. (CVE-2023-32416, CVE-2023-38259)

- The issue was addressed with improved checks. (CVE-2023-32418, CVE-2023-36854, CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38600)

- The issue was addressed with improved memory handling. (CVE-2023-32441, CVE-2023-32734, CVE-2023-38611)

- A use-after-free issue was addressed with improved memory management. (CVE-2023-32381, CVE-2023-32433, CVE-2023-35993)

- This issue was addressed with improved state management. (CVE-2023-38606)

- A path handling issue was addressed with improved validation. (CVE-2023-38565)

- A logic issue was addressed with improved checks. (CVE-2023-38593)

- A permissions issue was addressed with additional restrictions. (CVE-2023-38602)

- An out-of-bounds read was addressed with improved input validation. (CVE-2023-32443)

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


Upgrade to macOS 13.5 or later.

See Also

Plugin Details

Severity: Critical

ID: 178753

File Name: macos_HT213843.nasl

Version: 1.9

Type: local

Agent: macosx

Published: 7/24/2023

Updated: 9/28/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information


Risk Factor: High

Score: 8.4


Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

CVSS Score Source: CVE-2023-38611


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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:F/RL:O/RC:C

CVSS Score Source: CVE-2023-38604

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/24/2023

Vulnerability Publication Date: 5/18/2023

CISA Known Exploited Vulnerability Due Dates: 8/3/2023, 8/16/2023

Reference Information

CVE: CVE-2023-28319, CVE-2023-28320, CVE-2023-28321, CVE-2023-28322, CVE-2023-2953, CVE-2023-32364, CVE-2023-32381, CVE-2023-32416, CVE-2023-32418, CVE-2023-32429, CVE-2023-32433, CVE-2023-32441, CVE-2023-32442, CVE-2023-32443, CVE-2023-32444, CVE-2023-32445, CVE-2023-32654, CVE-2023-32734, CVE-2023-34241, CVE-2023-34425, CVE-2023-35983, CVE-2023-35993, CVE-2023-36495, CVE-2023-36854, CVE-2023-36862, CVE-2023-37285, CVE-2023-37450, CVE-2023-38133, CVE-2023-38258, CVE-2023-38259, CVE-2023-38261, CVE-2023-38410, CVE-2023-38421, CVE-2023-38424, CVE-2023-38425, CVE-2023-38564, CVE-2023-38565, CVE-2023-38571, CVE-2023-38572, CVE-2023-38580, CVE-2023-38590, CVE-2023-38592, CVE-2023-38593, CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38598, CVE-2023-38599, CVE-2023-38600, CVE-2023-38601, CVE-2023-38602, CVE-2023-38603, CVE-2023-38604, CVE-2023-38606, CVE-2023-38608, CVE-2023-38609, CVE-2023-38611

APPLE-SA: HT213843

IAVA: 2023-A-0381-S, 2023-A-0468-S