Advisory

UBUNTU-CVE-2023-1523

Also known as: CVE-2023-1523

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 10, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2023-05-25 00:00 UTC
Modified
2026-02-04 04:13 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