Out-of-bounds read in macOS - CVE-2021-30939

 

Out-of-bounds read in macOS - CVE-2021-30939

Published: December 14, 2021 / Updated: February 16, 2022


Vulnerability identifier: #VU58858
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-30939
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing DDS images in ImageIO. A remote attacker can create a specially crafted image file, trick the victim into opening it using the affected software, trigger out-of-bounds read error and execute arbitrary code on the target system.


Affected software

macOS
watchOS
tvOS
Apple iOS
iPadOS

How to mitigate CVE-2021-30939

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

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins