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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.45%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 10.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 1.45% probability · 72th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- canonical/snapd · canonical/ubuntu linux
- Source
- security@ubuntu.com
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523Third Party Advisory
- https://github.com/snapcore/snapd/pull/12849Issue Tracking, Patch
- https://marc.info/?l=oss-security&m=167879021709955&w=2Exploit, Mailing List
- https://ubuntu.com/security/notices/USN-6125-1Third Party Advisory
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523Third Party Advisory
- https://github.com/snapcore/snapd/pull/12849Issue Tracking, Patch
- https://marc.info/?l=oss-security&m=167879021709955&w=2Exploit, Mailing List
- https://ubuntu.com/security/notices/USN-6125-1Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.