Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-1523

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-1523
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:33 UTC · Revision 1

Source evidence

CVE-2023-1523

core-osv · Original source

Published 1 Sept 2023, 18:41 UTC

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.

osv:CVE-2023-1523
Complete source record
{
  "id": "11365a62cbad4fc30d45fe917d7005118df02a228906ca1a522ec03c742d6439",
  "url": "https://osv.dev/vulnerability/CVE-2023-1523",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-1523",
    "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.",
    "evidence": "osv:CVE-2023-1523",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-1523",
      "aliases": [
        "CVE-2023-1523"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/canonical/snapd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8a7cdf2bb7d0874b8d6383c35d0971f7e498bbe4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.59.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.59.4",
            "2.59.3",
            "2.59.2",
            "2.59.1",
            "2.59",
            "untagged-ec50ee5bfb45daefc236",
            "2.15.2",
            "2.15",
            "2.14.2.16.04",
            "2.14.1",
            "2.14",
            "2.13",
            "2.12",
            "2.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0",
            "1.9.4",
            "1.9.3",
            "1.9.2",
            "1.9.1",
            "1.9",
            "ppa",
            "1.7.3+20160310ubuntu1",
            "1.7.3+20160308ubuntu1",
            "1.7.3+20160303ubuntu4",
            "1.7.3+20160303ubuntu3",
            "1.7.3+20160303ubuntu2",
            "1.7.3+20160303ubuntu1",
            "1.7.3+20160225ubuntu1",
            "1.7.2+20160223ubuntu1",
            "1.7.2+20160204ubuntu1",
            "1.7.2+20160113ubuntu1",
            "1.7.2ubuntu1",
            "1.7ubuntu1",
            "1.6ubuntu1",
            "1.5ubuntu1",
            "1.4ubuntu1",
            "1.3ubuntu1",
            "1.2-0ubuntu1",
            "1.1.2-0ubuntu1",
            "1.1.1-0ubuntu1",
            "1.1-0ubuntu1",
            "1.0.1-0ubuntu1",
            "1.0-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-1523.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.861634881Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1523.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-1523",
        "https://ubuntu.com/security/notices/USN-6125-1",
        "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523",
        "https://github.com/snapcore/snapd/pull/12849",
        "https://github.com/snapcore/snapd",
        "https://github.com/snapcore/snapd/releases",
        "https://marc.info/?l=oss-security&m=167879021709955&w=2"
      ],
      "provider_metadata": {
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1523.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-1523",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503173,
  "published_at": "2023-09-01T18:41:47.82+00:00"
}