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

 

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

Published: May 24, 2021 / Updated: June 25, 2021


Vulnerability identifier: #VU53450
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-30686
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to a boundary condition within the USACBitstreamReader function in AudioCodecs. A remote attacker can create a specially crafted LOAS file, trick the victim into opening it, trigger a stack-based buffer overflow and execute arbitrary code on the system.


Affected software

macOS
watchOS
iPadOS
tvOS
Apple iOS

How to mitigate CVE-2021-30686

Install updates from vendor's website.

macOS - addressed in versions 11.4 20F71, 10.15.7 19H1217
watchOS - update to 7.5 18T567
iPadOS - update to 14.6 18F72
tvOS - update to 14.6 18L569
Apple iOS - update to 14.6 18F72

External References

Related Security Bulletins