Vulnerability · Published Sep 1, 2023 · Assigned by canonical
CVE-2023-1523
Critical 10.0
In plain English
A critical-severity security flaw in snapd from Canonical Ltd.. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | snapd | no fix listed | DEBIAN-CVE-2023-1523 |
| Debian:13 | snapd | 2.59.5-1 | DEBIAN-CVE-2023-1523 |
| Debian:14 | snapd | 2.59.5-1 | DEBIAN-CVE-2023-1523 |
| Ubuntu:22.04:LTS | snapd | 2.58+22.04.1 | USN-6125-1 |
| Ubuntu:22.04:LTS | snapd | 2.58+22.04.1 | UBUNTU-CVE-2023-1523 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Canonical Ltd. | snapd | see references |
References
- https://ubuntu.com/security/notices/USN-6125-1 vendor-advisory
- https://github.com/snapcore/snapd/pull/12849 issue-tracking
- https://marc.info/?l=oss-security&m=167879021709955&w=2 mailing-list
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523 issue-tracking