Advisory Details

May 25th, 2021

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

ZDI-21-606
ZDI-CAN-13590

CVE ID CVE-2021-3490
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 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/11
DISCLOSURE TIMELINE
  • 2021-05-14 - Vulnerability reported to vendor
  • 2021-05-25 - Coordinated public release of advisory
CREDIT Manfred Paul (@_manfp) of the RedRocket CTF team (@redrocket_ctf)
BACK TO ADVISORIES