CVE-2023-28100TIOCLINUX can send commands outside sandbox if running on a virtual console
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | flatpak | Fix pending | UBUNTU-CVE-2023-28100 | |
| Ubuntu 26.04 | flatpak | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | flatpak | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-28100 | |
| Ubuntu 22.04 | flatpak | Fix pending | UBUNTU-CVE-2023-28100 | |
| Ubuntu 20.04 | flatpak | Fix pending | UBUNTU-CVE-2023-28100 | |
| Ubuntu 18.04 | flatpak | Fix pending | UBUNTU-CVE-2023-28100 | |
| Debian 14 | flatpak | Fixed | 1.14.4-1 | DEBIAN-CVE-2023-28100 |
| Debian 13 | flatpak | Fixed | 1.14.4-1 | DEBIAN-CVE-2023-28100 |
| Debian 12 | flatpak | Fixed | 1.14.4-1 | DEBIAN-CVE-2023-28100 |
| Red Hat Enterprise Linux 9 | flatpak | Fixed | 0:1.12.8-1.el9 | RHSA-2023:6518 |
| Red Hat Enterprise Linux 9 | flatpak-devel | Fixed | 0:1.12.8-1.el9 | RHSA-2023:6518 |
| Red Hat Enterprise Linux 9 | flatpak-libs | Fixed | 0:1.12.8-1.el9 | RHSA-2023:6518 |
| Red Hat Enterprise Linux 9 | flatpak-selinux | Fixed | 0:1.12.8-1.el9 | RHSA-2023:6518 |
| Red Hat Enterprise Linux 9 | flatpak-session-helper | Fixed | 0:1.12.8-1.el9 | RHSA-2023:6518 |
| Red Hat Enterprise Linux 8 | flatpak | Fixed | 0:1.10.8-1.el8 | RHSA-2023:7038 |
| Red Hat Enterprise Linux 8 | flatpak-devel | Fixed | 0:1.10.8-1.el8 | RHSA-2023:7038 |
| Red Hat Enterprise Linux 8 | flatpak-libs | Fixed | 0:1.10.8-1.el8 | RHSA-2023:7038 |
| Red Hat Enterprise Linux 8 | flatpak-selinux | Fixed | 0:1.10.8-1.el8 | RHSA-2023:7038 |
| Red Hat Enterprise Linux 8 | flatpak-session-helper | Fixed | 0:1.10.8-1.el8 | RHSA-2023:7038 |
| Red Hat Enterprise Linux 7 | flatpak | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | flatpak-builder | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | flatpak-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | flatpak-libs | Will not fix Out of support scope | ||
| AlmaLinux 9 | flatpak | Fixed | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux 9 | flatpak-devel | Fixed | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux 9 | flatpak-libs | Fixed | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux 9 | flatpak-selinux | Fixed | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux 9 | flatpak-session-helper | Fixed | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux 8 | flatpak | Fixed | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux 8 | flatpak-devel | Fixed | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux 8 | flatpak-libs | Fixed | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux 8 | flatpak-selinux | Fixed | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux 8 | flatpak-session-helper | Fixed | 1.10.8-1.el8 | ALSA-2023:7038 |
| Rocky Linux 9 | flatpak | Fixed | 0:1.12.8-1.el9 | RLSA-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.
- flatpak: affected: < 1.10.8, >= 1.12.0, < 1.12.8, >= 1.14.0, < 1.14.4, >= 1.15.0, < 1.15.4
References
- https://github.com/flatpak/flatpak/security/advisories/GHSA-7qpw-3vjv-xrqp
- https://github.com/flatpak/flatpak/commit/8e63de9a7d3124f91140fc74f8ca9ed73ed53be9
- https://marc.info/?l=oss-security&m=167879021709955&w=2
- https://security.gentoo.org/glsa/202312-12
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.