Skip to main content
Public proof of conceptFix available

CVE-2023-1523

A public proof of concept exists; no exploitation attested.

  • Published2023-09-01
  • WeaknessCWE-74

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-09-0119:15CVE publishedNVD

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
20.4= 20.04no fix published
22.4= 22.04no fix published
22.10= 22.10no fix published
23.4= 23.04no fix published
Canonical snapd
BranchAffectedFixed in
2.59< 2.59.52.59.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As canonical, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-09-01

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • snapdUbuntu:Pro:16.04:LTSall versions · fixed in 2.54.3+16.04.0ubuntu0.1~esm6
  • snapdUbuntu:22.04:LTSall versions · fixed in 2.58+22.04.1
  • snapdUbuntu:20.04:LTSall versions · fixed in 2.58+20.04.1
  • snapdUbuntu:18.04:LTSall versions · fixed in 2.58+18.04.1
  • snapdDebian:14all versions · fixed in 2.59.5-1
  • snapdDebian:13all versions · fixed in 2.59.5-1
  • snapdDebian:12all versions · no fixed version listed

Vendor advisories

  • CVE-2023-1523 Red Hat Product Security

    snapd: code exec via TIOCLINUX ioctl request

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2023-09-01
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-55wx-23fj-c2v5

Frequently asked questions

What is 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.

Is CVE-2023-1523 actively exploited?

A proof-of-concept exploit exists for CVE-2023-1523, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-1523?

CVE-2023-1523 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running snapd? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record