Stack-based buffer overflow in macOS - CVE-2021-30759

 

Stack-based buffer overflow in macOS - CVE-2021-30759

Published: July 22, 2021 / Updated: August 6, 2021


Vulnerability identifier: #VU55202
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-30759
CWE-ID: CWE-121
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 font files in FontParser in libType1Scaler library. A remote unauthenticated attacker can trick the victim to open a specially crafted PFB font file, trigger stack-based buffer overflow 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
iPadOS
Apple iOS

How to mitigate CVE-2021-30759

Install updates from vendor's website.

macOS - addressed in versions 11.5 20G71, 10.14.6 18G9323, 10.15.7 19H1323
watchOS - update to 7.6 18U63
tvOS - update to 14.7 18M60
iPadOS - addressed in versions 14.7 18G69, 14.7 18G70
Apple iOS - update to 14.7 18G69

External References

Related Security Bulletins