CVEfocus › CVE database › CVE-2023-28100

CVE-2023-28100TIOCLINUX can send commands outside sandbox if running on a virtual console

CVSS 10.0 CriticalEPSS 0.9% (higher than 57% of CVEs)Published 2023-03-16Updated 2025-02-13Assigner: GitHub_M

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4 contain a vulnerability similar to CVE-2017-5226, but using the `TIOCLINUX` ioctl command instead of `TIOCSTI`. If a Flatpak app is run on a Linux virtual console such as `/dev/tty1`, it can copy text from the virtual console and paste it into the command buffer, from which the command might be run after the Flatpak app has exited. Ordinary graphical terminal emulators like xterm, gnome-terminal and Konsole are unaffected. This vulnerability is specific to the Linux virtual consoles `/dev/tty1`, `/dev/tty2` and so on. A patch is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, don't run Flatpak on a Linux virtual console. Flatpak is primarily designed to be used in a Wayland or X11 graphical environment.

CWE-20

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
4Fix pending
5Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10flatpakFix pendingUBUNTU-CVE-2023-28100
Ubuntu 26.04flatpakNot affected
vulnerable_code_not_present
Ubuntu 25.10flatpakWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28100
Ubuntu 22.04flatpakFix pendingUBUNTU-CVE-2023-28100
Ubuntu 20.04flatpakFix pendingUBUNTU-CVE-2023-28100
Ubuntu 18.04flatpakFix pendingUBUNTU-CVE-2023-28100
Debian 14flatpakFixed1.14.4-1DEBIAN-CVE-2023-28100
Debian 13flatpakFixed1.14.4-1DEBIAN-CVE-2023-28100
Debian 12flatpakFixed1.14.4-1DEBIAN-CVE-2023-28100
Red Hat Enterprise Linux 9flatpakFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-develFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-libsFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-selinuxFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-session-helperFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 8flatpakFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-develFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-libsFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-selinuxFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-session-helperFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 7flatpakWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-builderWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-libsWill not fix
Out of support scope
AlmaLinux 9flatpakFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-develFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-libsFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-selinuxFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-session-helperFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 8flatpakFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-develFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-libsFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-selinuxFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-session-helperFixed1.10.8-1.el8ALSA-2023:7038
Rocky Linux 9flatpakFixed0:1.12.8-1.el9RLSA-2023:6518

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.