Advisory

USN-6125-1

Also known as: CVE-2023-1523

Summary

snapd vulnerability

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-05-31 02:05 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

snapd

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.58+18.04.1 (ecosystem)

Fixed versions

2.58+18.04.1

Fix

  • Fixed version 2.58+18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snapd

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.58+20.04.1 (ecosystem)

Fixed versions

2.58+20.04.1

Fix

  • Fixed version 2.58+20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snapd

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.58+22.04.1 (ecosystem)

Fixed versions

2.58+22.04.1

Fix

  • Fixed version 2.58+22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences