CVE-2023-1523
published critical CVSS 3.1 · 10.0snapd: code exec via TIOCLINUX ioctl request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical Ltd. | — | snapd2.59.5 · Platforms: Linux | Unaffected | Not stated | canonical |
| Ubuntu | bionic | snapd | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | focal | snapd | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | jammy | snapd | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | xenial | snapd | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | bionic | golang-github-snapcore-snapd-dev | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | snap-confine | Advisory build | 2.58+18.04.1 | USN-6125-1 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | snapd-xdg-open | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | ubuntu-core-launcher | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | ubuntu-core-snapd-units | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | ubuntu-snappy | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | bionic | ubuntu-snappy-cli | Advisory build | 2.58+18.04.1 | USN-6125-1 |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | snap-confine | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | snapd-xdg-open | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | ubuntu-core-launcher | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | ubuntu-core-snapd-units | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | ubuntu-snappy | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | focal | ubuntu-snappy-cli | Advisory build | 2.58+20.04.1 | USN-6125-1 |
| Ubuntu | jammy | golang-github-snapcore-snapd-dev | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | snap-confine | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | snapd-xdg-open | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | ubuntu-core-launcher | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | ubuntu-core-snapd-units | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | ubuntu-snappy | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | jammy | ubuntu-snappy-cli | Advisory build | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu | xenial | golang-github-snapcore-snapd-dev | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | snap-confine | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | snapd-xdg-open | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | ubuntu-core-launcher | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | ubuntu-core-snapd-units | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | ubuntu-snappy | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
| Ubuntu | xenial | ubuntu-snappy-cli | Advisory build | 2.54.3+16.04.0ubuntu0.1~esm6 | USN-6125-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical Ltd. | snapd | 2.59.5 (unaffected) | canonical · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3canonical · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e2aa4018f6e16ab38b2e837ca463bb2b88319ce1b2c6dd2533f6df0278f09189
- Ingested
- 23 Sep 2026, 08:05:26 UTC
- Source record
- Official CVE record