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.
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Snapd | Canonical | * | 2.59.5 (excluding) |
Snapd | Ubuntu | bionic | * |
Snapd | Ubuntu | devel | * |
Snapd | Ubuntu | esm-infra/xenial | * |
Snapd | Ubuntu | focal | * |
Snapd | Ubuntu | jammy | * |
Snapd | Ubuntu | kinetic | * |
Snapd | Ubuntu | lunar | * |
Snapd | Ubuntu | snap | * |
Snapd | Ubuntu | trusty | * |
Snapd | Ubuntu | upstream | * |
Snapd | Ubuntu | xenial | * |