USN-6125-1

Type: Security
Severity: Medium
Published: 2023-05-31
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that the snap sandbox did not restrict the use of the ioctl system call with a TIOCLINUX request. This could be exploited by a malicious snap to inject commands into the controlling terminal which would then be executed outside of the snap sandbox once the snap had exited. This could allow an attacker to execute arbitrary commands outside of the confined snap sandbox. Note: 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. Update Instructions: Run `sudo pro fix USN-6125-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ubuntu-core-snapd-units - 2.58+22.04.1 ubuntu-core-launcher - 2.58+22.04.1 snap-confine - 2.58+22.04.1 ubuntu-snappy-cli - 2.58+22.04.1 golang-github-snapcore-snapd-dev - 2.58+22.04.1 snapd-xdg-open - 2.58+22.04.1 snapd - 2.58+22.04.1 golang-github-ubuntu-core-snappy-dev - 2.58+22.04.1 ubuntu-snappy - 2.58+22.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2025-11-26T08:03:48.096Z UTC.

Upstream Advisory

Affected Packages

  • ubuntu-core-snapd-units 2.58+22.04.1-2.58+22.04.1

  • ubuntu-core-launcher 2.58+22.04.1-2.58+22.04.1

  • snap-confine 2.58+22.04.1-2.58+22.04.1

  • ubuntu-snappy-cli 2.58+22.04.1-2.58+22.04.1

  • golang-github-snapcore-snapd-dev 2.58+22.04.1-2.58+22.04.1

  • snapd-xdg-open 2.58+22.04.1-2.58+22.04.1

  • snapd 2.58+22.04.1-2.58+22.04.1

  • golang-github-ubuntu-core-snappy-dev 2.58+22.04.1-2.58+22.04.1

  • ubuntu-snappy 2.58+22.04.1-2.58+22.04.1

  • ubuntu-core-snapd-units 2.58+20.04.1-2.58+20.04.1

  • ubuntu-core-launcher 2.58+20.04.1-2.58+20.04.1

  • snap-confine 2.58+20.04.1-2.58+20.04.1

  • ubuntu-snappy-cli 2.58+20.04.1-2.58+20.04.1

  • golang-github-snapcore-snapd-dev 2.58+20.04.1-2.58+20.04.1

  • snapd-xdg-open 2.58+20.04.1-2.58+20.04.1

  • snapd 2.58+20.04.1-2.58+20.04.1

  • golang-github-ubuntu-core-snappy-dev 2.58+20.04.1-2.58+20.04.1

  • ubuntu-snappy 2.58+20.04.1-2.58+20.04.1

Interested in being alerted when there are new versions of ubuntu-core-snapd-units and the other packages? Set up an alert.
USN-6125-1: snapd vulnerability | Package Alert