CVE-2023-1523
JSON

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 packageVersionsReported by
snapdNot specified
Not affected: 2.59.5
CVE List
canonical snapdbefore 2.59.5NVD
canonical ubuntu_linux16.04, 18.04, 20.04, 22.04, 22.10, 23.04NVD

All scores

canonical10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-74

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

Sources

SourceRecordLicence
CVE ListCVE-2023-1523 changed 2024-10-01CVE Terms of Use
NVDCVE-2023-1523 changed 2026-06-17Public domain