Privilege escalation in Flatpak - CVE-2019-8308
Published: February 16, 2019
Flatpak
Detailed vulnerability description
The vulnerability allows an adjacent attacker to escalate privileges on the system.
The vulnerability exists due an error when handling file descriptors related to /proc/self/exe. An adjacent attacker can trick the victim with root privileges into installing a system-wide Flatpak application that has an apply_extra script, and then run the apply_extra script in a sandbox with /proc mounted to escape sandbox protections and maliciously modify executable files as root on the host system.