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
- github.com/snapcore/snapd/pull/12849 · Patch
- cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523 · Third Party Advisory
- ubuntu.com/security/notices/USN-6125-1 · Third Party Advisory
- marc.info/?l=oss-security&m=167879021709955&w=2 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-1523
- cve.org/CVERecord?id=CVE-2023-1523
More vulnerabilities in Canonical products
CVE-2025-54293CVE-2025-54292CVE-2025-54291CVE-2025-54290CVE-2025-54289CVE-2025-54288CVE-2025-54286CVE-2025-53513All 4,095
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.