Live threats

All CVEs / Canonical

CVE-2023-1523Canonical Snapd

Critical 10.0 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Snapd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
canonicalsnapd< 2.59.5
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux20.04
canonicalubuntu_linux22.04
canonicalubuntu_linux22.10
canonicalubuntu_linux23.04

Official sources

References

Links published by the sources. Open them with care.