Vulnerability in Canonical Snapd
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 73.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Canonical Snapd
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
Weakness classification (CWE)
References
- ubuntu.com/security/notices/USN-6125-1 (vendor-advisory, Third Party Advisory)
- github.com/snapcore/snapd/pull/12849 (issue-tracking, Patch, Issue Tracking)
- marc.info/ (mailing-list, Exploit, Mailing List)
- cve.mitre.org/cgi-bin/cvename.cgi (issue-tracking, Third Party Advisory)