Advisory Details

May 14th, 2021

(Pwn2Own) Canonical Ubuntu eBPF Out-Of-Bounds Access Privilege Escalation Vulnerability

ZDI-21-590
ZDI-CAN-13586

CVE ID CVE-2021-3489
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 eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. 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/10
DISCLOSURE TIMELINE
  • 2021-04-22 - Vulnerability reported to vendor
  • 2021-05-14 - Coordinated public release of advisory
CREDIT Ryota Shiga(@Ga_ryo_) of Flatt:w Security
BACK TO ADVISORIES