Skip to content
OpenAdvisories
Critical · 10.0 CVE-2023-1523 EUVD-2023-23767GHSA-55wx-23fj-c2v5

Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it t…

Published Sep 1, 2023 · Updated Oct 1, 2024 · Assigned by canonical

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 products

VendorProductAffectedFixed
Canonical snapd — 2.59.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snapd 2.59.5-1 —
Debian 13 snapd 2.59.5-1 —
Debian 12 snapd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS snapd 2.58+22.04.1 USN-6125-1
Ubuntu 20.04 LTS snapd 2.58+20.04.1 USN-6125-1
Ubuntu 18.04 LTS snapd 2.58+18.04.1 USN-6125-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS snapd 2.54.3+16.04.0ubuntu0.1~esm6 USN-6125-1

Advisories 2

References