TIOCLINUX ioctl Vulnerability: Command Injection in Snaps on Virtual Consoles

TIOCLINUX ioctl Vulnerability: Command Injection in Snaps on Virtual Consoles

CVE-2023-1523 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it to cause arbitrary commands to be executed outside of the snap sandbox after the snap exits. Graphical terminal emulators like xterm, gnome-terminal and others are not affected - this can only be exploited when snaps are run on a virtual console.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.