Using the TIOCLINUX ioctl request, a malicious snap could...
Critical severity
Unreviewed
Published
Sep 1, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
Sep 1, 2023
Published to the GitHub Advisory Database
Sep 1, 2023
Last updated
Apr 4, 2024
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.
References