Vulnerability · Published Sep 1, 2023 · Assigned by canonical

CVE-2023-1523

Critical 10.0

In plain English

A critical-severity security flaw in snapd from Canonical Ltd.. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12snapdno fix listedDEBIAN-CVE-2023-1523
Debian:13snapd2.59.5-1DEBIAN-CVE-2023-1523
Debian:14snapd2.59.5-1DEBIAN-CVE-2023-1523
Ubuntu:22.04:LTSsnapd2.58+22.04.1USN-6125-1
Ubuntu:22.04:LTSsnapd2.58+22.04.1UBUNTU-CVE-2023-1523

Affected products (as reported)

VendorProductVersions
Canonical Ltd. snapd see references

References