CVE-2023-1523 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...
CriticalCVSS 10.0
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 7 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/snapd(Debian 12) | = 2.57.6-1; = 2.57.6-1+deb12u1; = 2.59.5-1; = 2.60.2-1 +34 more | No fix listed | No fix yet |
| Canonical snapd | < 2.59.5 | 2.59.5 | Fixed |
| debian/snapd(Debian 13) | < 2.59.5-1 | 2.59.5-1 | Fixed |
| debian/snapd(Debian 14) | < 2.59.5-1 | 2.59.5-1 | Fixed |
| ubuntu/snapd(Ubuntu 18.04) | < 2.58+18.04.1; = 2.28.5+17.10; = 2.29.4.1+18.04; = 2.29.4.2+18.04 +35 more | 2.58+18.04.1 | Fixed |
| ubuntu/snapd(Ubuntu 20.04) | < 2.58+20.04.1; = 2.41+19.10.1; = 2.42.1+20.04; = 2.43.3+git1.8109f8 +22 more | 2.58+20.04.1 | Fixed |
| ubuntu/snapd(Ubuntu 22.04) | < 2.58+22.04.1; = 2.53+21.10ubuntu1; = 2.54.2+22.04ubuntu1; = 2.54.2+22.04ubuntu2 +13 more | 2.58+22.04.1 | Fixed |
| ubuntu/snapd(Ubuntu Pro 16.04) | < 2.54.3+16.04.0ubuntu0.1~esm6; = 1.9; = 1.9.1.1; = 1.9.2 +49 more | 2.54.3+16.04.0ubuntu0.1~esm6 | Fixed |
| Canonical Ubuntu Linux | = 16.04; = 18.04; = 20.04; = 22.04 +2 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/snapd(Debian:12) | All versions | No fix listed |
| debian/snapd(Debian:12) | = 2.57.6-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.57.6-1+deb12u1 | No fix listed |
| debian/snapd(Debian:12) | = 2.59.5-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.60.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.2-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-5 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.65.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.65.3-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.66.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.66.1-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.67-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.68.3-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.68.3-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.71-1 | No fix listed |
Show 157 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/snapd(Debian:12) | = 2.71-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.71-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.72-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.73-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.73-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.74.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.75.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.75.2-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.76-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.76.3-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.76.3-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.77.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.77.1-2 | No fix listed |
| debian/snapd(Debian:13) | < 2.59.5-1 | 2.59.5-1 |
| debian/snapd(Debian:14) | < 2.59.5-1 | 2.59.5-1 |
| ubuntu/snapd(Ubuntu:22.04) | < 2.58+22.04.1 | 2.58+22.04.1 |
| Canonical snapd | < 2.59.5 | 2.59.5 |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed |
| Canonical Ubuntu Linux | = 22.04 | No fix listed |
| Canonical Ubuntu Linux | = 22.10 | No fix listed |
| Canonical Ubuntu Linux | = 23.04 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | < 2.54.3+16.04.0ubuntu0.1~esm6 | 2.54.3+16.04.0ubuntu0.1~esm6 |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 1.9 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 1.9.1.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 1.9.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.3 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.5 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.8 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.9 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.0.10 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.11+0.16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.12+0.16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.13 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.14.2~16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.15.2ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.16ubuntu3 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.17.1ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.20.1ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.21 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.22.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.22.3 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.22.6 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.23.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.24.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.25 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.26.10 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.27.5 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.28.5 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.29.4.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.32.3.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.32.9 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.33.1ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.34.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.34.2ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.37.4 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.37.4ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.38 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.39.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.39.2ubuntu0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.40 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.42.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.45.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.45.1ubuntu0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.46.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.47.1 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.48 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.48.3 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.54.3+16.04~esm2 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.54.3+16.04.0ubuntu0.1~esm3 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.54.3+16.04.0ubuntu0.1~esm4 | No fix listed |
| ubuntu/snapd(Ubuntu:Pro:16.04) | = 2.54.3+16.04.0ubuntu0.1~esm5 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | < 2.58+18.04.1 | 2.58+18.04.1 |
| ubuntu/snapd(Ubuntu:18.04) | = 2.28.5+17.10 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.29.4.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.29.4.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.31.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04~pre5 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04~pre6 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.3.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.5+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.8+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.9+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.33.1+18.04ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.34.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.34.2+18.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.1.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.4+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.4+18.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.38+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.39.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.40+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.42.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.45.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.45.1+18.04.2 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.46.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.47.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.48+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.48.3+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.49.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.51.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.54.2+18.04ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.54.3+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.54.3+18.04.2ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.54.3+18.04.2ubuntu0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.55.5+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.57.5+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.57.5+18.04ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.58+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | < 2.58+20.04.1 | 2.58+20.04.1 |
| ubuntu/snapd(Ubuntu:20.04) | = 2.41+19.10.1 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.42.1+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.43.3+git1.8109f8 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.44~pre1+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.44+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.44.2+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.44.3+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.45.1+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.45.1+20.04.2 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.46.1+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.47.1+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.48+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.48.3+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.49.2+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.51.1+20.04ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.2+20.04ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.3+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.3+20.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.3+20.04.1ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.3+20.04.1ubuntu0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.54.3+20.04.1ubuntu0.3 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.55.5+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.57.5+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.57.5+20.04ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:20.04) | = 2.58+20.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.53+21.10ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.54.2+22.04ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.54.2+22.04ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.54.2+22.04ubuntu3 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.54.3+git19.g868fc21+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.54.3+git26.g360067e+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.55.2+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.55.2+22.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.55.3+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.55.3+22.04ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.55.5+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.56.2+22.04ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.57.4+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.57.5+22.04 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.57.5+22.04ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | = 2.58+22.04 | No fix listed |
References
- Debian Security Tracker CVE-2023-1523 vendor-advisory
- USN-6125-1 third-party-advisory vendor-advisory
- github.com issue-tracking patch
- marc.info exploit issue-tracking mailing-list
- cve.mitre.org issue-tracking third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking