CVE-2023-1523Canonical Snapd
Critical 10.0 No auth needed
Follow: this CVE · Canonical · Canonical Snapd We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Sep 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Snapd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | snapd | < 2.59.5 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 20.04 |
| canonical | ubuntu_linux | 22.04 |
| canonical | ubuntu_linux | 22.10 |
| canonical | ubuntu_linux | 23.04 |
Official sources
References
Links published by the sources. Open them with care.
- cve.mitre.org Third Party Advisory
- github.com Issue Tracking Patch
- marc.info Exploit Mailing List
- ubuntu.com Third Party Advisory