10.0critical
Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it t…
- Severity
- 10.0critical CVSS:3.1 by canonical
- Exploit likelihood
- 1.84% (higher than 80% of CVEs)
- Published
- Last changed
- Assigned by
- canonical
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| snapd | Not specified Not affected: 2.59.5 | CVE List |
| canonical snapd | before 2.59.5 | NVD |
| canonical ubuntu_linux | 16.04, 18.04, 20.04, 22.04, 22.10, 23.04 | NVD |
All scores
| canonical | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Utilizando la petición IOCTL de TIOCLINUX, un snap malicoso podría inyectar contenido en la entrada del terminal de control, lo que podría permitir que se ejecutaran comandos arbitrarios fuera del sandbox del snap después de que éste saliera. Los emuladores gráficos de terminal como xterm, gnome-terminal y otros no se ven afectados. Esto sólo puede ser explotado cuando los snaps se ejecutan en una consola virtual.
References
| https://ubuntu.com/security/notices/USN-6125-1 | third-party-advisory, vendor-advisory | |
| https://github.com/snapcore/snapd/pull/12849 | issue-tracking, patch | |
| https://marc.info/?l=oss-security&m=167879021709955&w=2 | exploit, mailing-list | |
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-1523 changed 2024-10-01 | CVE Terms of Use |
| NVD | CVE-2023-1523 changed 2026-06-17 | Public domain |