Advisory Details

May 13th, 2021

(Pwn2Own) Canonical Ubuntu io_uring Integer Overflow Privilege Escalation Vulnerability

ZDI-21-589
ZDI-CAN-13546

CVE ID CVE-2021-3491
CVSS SCORE 8.8, AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS Canonical
AFFECTED PRODUCTS Ubuntu
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Canonical Ubuntu. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of buffers in io_uring. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before accessing memory. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.

ADDITIONAL DETAILS Canonical has issued an update to correct this vulnerability. More details can be found at:
https://www.openwall.com/lists/oss-security/2021/05/11/13
DISCLOSURE TIMELINE
  • 2021-04-22 - Vulnerability reported to vendor
  • 2021-05-13 - Coordinated public release of advisory
CREDIT Billy Jheng Bing-Jhong (@st424204) of STAR Labs
BACK TO ADVISORIES