CVE-2023-1523: canonical snapd Injection
Vulnerability summary
CVE-2023-1523 is a critical (CVSS 10.0) Injection vulnerability in canonical snapd. EPSS estimates a 1.45% chance of exploitation in the next 30 days, higher than 72.8% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 01-09-2023PublishedVulnerability first disclosed.
- 01-10-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.45%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.45% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (marc.info)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Canonical2 products
- snapd< 2.59.5
- ubuntu_linuxEOL16.04 | 18.04 | 20.04 | 22.04 | 22.10 | 23.04
Debian1 product
- snapdAll versions (No fix recorded) | < 2.59.5-1
Ubuntu1 product
- snapd< 2.54.3+16.04.0ubuntu0.1~esm6 | < 2.58+18.04.1 | < 2.58+20.04.1 | < 2.58+22.04.1
3 vendors · 4 products