Advisory Details

March 22nd, 2022

Apple Safari WebGLMultiDraw Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-517
ZDI-CAN-15747

CVE ID CVE-2022-22629
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Apple
AFFECTED PRODUCTS Safari
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Apple Safari. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the WebGLMultiDraw component. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/en-us/HT213187
DISCLOSURE TIMELINE
  • 2021-12-22 - Vulnerability reported to vendor
  • 2022-03-22 - Coordinated public release of advisory
  • 2024-07-08 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES