Buffer overflow in macOS - CVE-2021-30942

 

Buffer overflow in macOS - CVE-2021-30942

Published: December 14, 2021


Vulnerability identifier: #VU58853
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-30942
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in ColorSync when processing ICC profiles in images. A remote attacker can create a specially crafted image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

macOS
watchOS
tvOS
Apple iOS
iPadOS

How to mitigate CVE-2021-30942

Install updates from vendor's website.

macOS - addressed in versions 12.1 21C52, 10.15.7 19H1615, 11.6.2 20G314
watchOS - update to 8.3 19S55
tvOS - update to 15.2 19K53
Apple iOS - addressed in versions 15.2 19C56, 15.2 19C57
iPadOS - update to 15.2 19C56

External References

Related Security Bulletins