cbcvebase.
CVE-2022-42840
published 2022-12-15

CVE-2022-42840: The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.6.2, macOS Ventura 13.1, macOS Big Sur 11.7.2, iOS 15.7.2 and…

PriorityP180high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
ITWVulnCheck KEV
Exploited in the wild
EPSS
0.37%
29.0th percentile
The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.6.2, macOS Ventura 13.1, macOS Big Sur 11.7.2, iOS 15.7.2 and iPadOS 15.7.2, iOS 16.2 and iPadOS 16.2. An app may be able to execute arbitrary code with kernel privileges.

Affected

17 ranges
VendorProductVersion rangeFixed in
appleios_15.7.2_and_ipados
appleios_16.2_and_ipados
appleipados< 15.7.215.7.2
appleipados>= 16.0 < 16.216.2
appleiphone_os< 15.7.215.7.2
appleiphone_os>= 16.0 < 16.216.2
applemacos
applemacos>= 11.0 < 11.7.211.7.2
applemacos>= 12.0.0 < 12.6.212.6.2
applemacos>= unspecified < 11.711.7
applemacos>= unspecified < 13.113.1
applemacos>= unspecified < 12.612.6
applemacos>= unspecified < 16.216.2
applemacos>= unspecified < 15.715.7
applemacos_big_sur
applemacos_monterey
applemacos_ventura

Detection & IOCsextracted from sources · hover to see the quote

  • ·The NVD description characterizes the impact as kernel code execution ('An app may be able to execute arbitrary code with kernel privileges'), while Apple advisories for macOS describe filesystem modification via PackageKit and photo re-surfacing via Photos. Detections should be scoped per platform and component.
  • ·The Kernel-component variant (iOS 15.7.2/iPadOS 15.7.2) is described as a race condition addressed with additional validation, which may require timing-based exploitation techniques distinct from the logic issue in PackageKit.
  • ·The PackageKit component impact ('An app may be able to modify protected parts of the file system') indicates potential for SIP/filesystem protection bypass on macOS Big Sur and Monterey; detections should monitor PackageKit-related file system writes to protected paths.
  • ·The Photos component variant allows a deleted photo to be re-surfaced without authentication via Shake-to-undo on iOS 16.2/macOS Ventura 13.1; this is a local authentication bypass rather than a code execution primitive.

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vulncheck7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.