Vulnerabilities / CVE-2023-1523

critical

CVE-2023-1523

Using the TIOCLINUX ioctl request, a malicious snap could inject conte ...

Published Modified CWE 74
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

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

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
debian 10snapdno fix listed
debian 11snapdno fix listed
debian 12snapdno fix listed
debian 13snapd2.59.5-1
debian 14snapd2.59.5-1
echosnapd2.59.5-1
rapidfort debian 12snapd0:2.59.5-1
rapidfort debian 13snapd0:2.59.5-1
rapidfort ubuntu 20.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
rapidfort ubuntu 22.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
rapidfort ubuntu 24.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
ubuntu 16.04-ESMsnapd2.54.3+16.04.0ubuntu0.1~esm6
Show all 19 entries from 19 sources
SourcePackageFixed in
debian 10snapdno fix listed
debian 11snapdno fix listed
debian 12snapdno fix listed
debian 13snapd2.59.5-1
debian 14snapd2.59.5-1
echosnapd2.59.5-1
rapidfort debian 12snapd0:2.59.5-1
rapidfort debian 13snapd0:2.59.5-1
rapidfort ubuntu 20.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
rapidfort ubuntu 22.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
rapidfort ubuntu 24.04snapd0:2.58+18.04.1, 0:2.58+20.04.1, 0:2.58+22.04.1
ubuntu 16.04-ESMsnapd2.54.3+16.04.0ubuntu0.1~esm6
ubuntu 18.04snapd2.58+18.04.1
ubuntu 18.04-ESMsnapd2.58+18.04.1
ubuntu 20.04snapd2.58+20.04.1
ubuntu 20.04-ESMsnapd2.58+20.04.1
ubuntu 22.04snapd2.58+22.04.1
ubuntu 22.10snapd2.58+22.10.1
ubuntu 23.04snapd2.59.1+23.04ubuntu1.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.