CVE-2023-1523
Last modified
CVE-2023-1523 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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.. EPSS estimates a 1.45% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Snapd | < 2.59.5 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 20.04 |
| Canonical | Ubuntu Linux | 22.04 |
| Canonical | Ubuntu Linux | 22.10 |
| Canonical | Ubuntu Linux | 23.04 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-1523?
How severe is CVE-2023-1523?
How do I fix CVE-2023-1523?
Are you affected by CVE-2023-1523?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
