CVE-2023-1523 json
Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it t…
published 2023-09-01 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-23767
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- canonical snapd 2.59.5
- snapd Debian 14, Debian 13 2.59.5-1
debian advisories DEBIAN-CVE-2023-1523
- snapd Ubuntu 18.04 LTS 2.58+18.04.1
- snapd Ubuntu 20.04 LTS 2.58+20.04.1
- snapd Ubuntu 22.04 LTS 2.58+22.04.1
- snapd Ubuntu Pro 16.04 LTS 2.54.3+16.04.0ubuntu0.1~esm6
ubuntu advisories UBUNTU-CVE-2023-1523
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/snapcore/snapd#12849 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-1523 updated cvss 8.1
snapd: code exec via TIOCLINUX ioctl request
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- marc.info https://marc.info/?l=oss-security&m=167879021709955&w=2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected products
- Canonical Ltd. snapd
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/snapcore/snapd/pull/12849
issue-tracking, patch
-
marc.info
/?l=oss-security&m=167879021709955&w=2
mailing-list, exploit
-
ubuntu.com
/security/notices/USN-6125-1
vendor-advisory, third-party-advisory
-
cve.mitre.org
/cgi-bin/cvename.cgi?name=CVE-2023-1523
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2023-1523
- NVD CVE-2023-1523
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.