CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Canonical

CVE-2023-1523
Canonical Snapd vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Snapd, Ubuntu Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Canonical Snapd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Canonical products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.