{"schemaVersion":3,"id":"CVE-2023-1523","aliases":["UBUNTU-CVE-2023-1523","USN-6125-1","DEBIAN-CVE-2023-1523"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-09-01T18:41:47.820Z","modified":"2024-10-01T13:08:45.851Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01447,"percentile":0.72928,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01447},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01447,"percentile":0.72928}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01447,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01447,"percentile":0.72928}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5476A41AD782A921","name":"Exploit Reference (marc.info)","source":"reference","url":"https://marc.info/?l=oss-security&m=167879021709955&w=2","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"canonical","product":"snapd","name":"snapd","label":"snapd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.59.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.59.5","eol":null,"hubHref":"/vendor/canonical/snapd"},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"20.04","noFixRecorded":false,"fixedIn":null},{"text":"22.04","noFixRecorded":false,"fixedIn":null},{"text":"22.10","noFixRecorded":false,"fixedIn":null},{"text":"23.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04 | 20.04 | 22.04 | 22.10 | 23.04","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/snapd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.59.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.59.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/snapd","purlType":"deb","versions":[{"text":"< 2.54.3+16.04.0ubuntu0.1~esm6","noFixRecorded":false,"fixedIn":null},{"text":"< 2.58+18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.58+20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.58+22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.54.3+16.04.0ubuntu0.1~esm6 | < 2.58+18.04.1 | < 2.58+20.04.1 | < 2.58+22.04.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://ubuntu.com/security/notices/USN-6125-1","label":"ubuntu.com/security/notices/USN-6125-1","hostname":"ubuntu.com","tags":["Vendor Advisory","Advisory","Third Party Advisory"]},{"url":"https://github.com/snapcore/snapd/pull/12849","label":"github.com/snapcore/snapd/pull/12849","hostname":"github.com","tags":["Issue Tracking","REPORT","Patch"]},{"url":"https://marc.info/?l=oss-security&m=167879021709955&w=2","label":"marc.info?l=oss-security&m=167879021709955&w=2","hostname":"marc.info","tags":["Mailing List","REPORT","Exploit"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523","label":"cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523","hostname":"cve.mitre.org","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-1523","label":"ubuntu.com/security/CVE-2023-1523","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-1523","label":"www.cve.org/CVERecord?id=CVE-2023-1523","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-1523","label":"security-tracker.debian.org/tracker/CVE-2023-1523","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-01T18:41:47.820Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-01T13:08:45.851Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:26:03.128Z","stale":false,"partial":false}}