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.
References
Link | Resource |
---|---|
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523 | Third Party Advisory |
https://github.com/snapcore/snapd/pull/12849 | Issue Tracking Patch |
https://marc.info/?l=oss-security&m=167879021709955&w=2 | Exploit Mailing List |
https://ubuntu.com/security/notices/USN-6125-1 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2023-09-01 19:15
Updated : 2023-09-08 17:17
NVD link : CVE-2023-1523
Mitre link : CVE-2023-1523
CVE.ORG link : CVE-2023-1523
JSON object : View
Products Affected
canonical
- ubuntu_linux
- snapd
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')