Advisory Details

January 21st, 2022

Oracle MySQL Cluster Data Node Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-105
ZDI-CAN-14496

CVE ID CVE-2022-21320
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Oracle
AFFECTED PRODUCTS MySQL Cluster
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Oracle MySQL Cluster. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the processing of Data Node jobs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.

ADDITIONAL DETAILS Oracle has issued an update to correct this vulnerability. More details can be found at:
https://www.oracle.com/security-alerts/cpujan2022.html
DISCLOSURE TIMELINE
  • 2021-07-23 - Vulnerability reported to vendor
  • 2022-01-21 - Coordinated public release of advisory
CREDIT Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative
BACK TO ADVISORIES