Buffer overflow in macOS - CVE-2021-30785

 

Buffer overflow in macOS - CVE-2021-30785

Published: July 22, 2021 / Updated: February 16, 2022


Vulnerability identifier: #VU55205
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-30785
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 when processing image files in ImageIO. A remote attacker can create a specially crafted PICT file, 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
iPadOS
tvOS
Apple iOS
iTunes
iCloud for Windows

How to mitigate CVE-2021-30785

Install updates from vendor's website.

macOS - addressed in versions 11.5 20G71, 10.15.7 19H1323
watchOS - update to 7.6 18U63
iTunes - update to 12.11.4
iCloud for Windows - update to 12.5
iPadOS - addressed in versions 14.7 18G69, 14.7 18G70
tvOS - update to 14.7 18M60
Apple iOS - update to 14.7 18G69

External References

Related Security Bulletins