CVE-2023-28100
CVE-2023-28100 · TIOCLINUX can send commands outside sandbox if running on a virtual console
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 10.0 · Critical · EPSS 0.9% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
flatpak
- Versions
- < 1.10.8: Affected
- >= 1.12.0, < 1.12.8: Affected
- >= 1.14.0, < 1.14.4: Affected
- >= 1.15.0, < 1.15.4: Affected
No fix published
flatpak Debian:12
- Affected ranges
- ECOSYSTEM: < 1.14.4-1
Update to 1.14.4-1
flatpak Debian:13
- Affected ranges
- ECOSYSTEM: < 1.14.4-1
Update to 1.14.4-1
flatpak Debian:14
- Affected ranges
- ECOSYSTEM: < 1.14.4-1
Update to 1.14.4-1
flatpak Ubuntu:Pro:18.04:LTS
- Versions
- 0.8.7-5
- 0.10.0-1
- 0.10.0-2
- 0.10.1-1
- 0.10.2-1
- 0.10.2.1-1
- 0.10.2.1-2
- 0.10.3-1
- 0.11.1-0ubuntu1
- 0.11.3-2
- 0.11.3-3
- 0.11.7-0ubuntu0.1
- 1.0.1-0ubuntu0.1
- 1.0.6-0ubuntu0.1
- 1.0.7-0ubuntu0.18.04.1
- 1.0.8-0ubuntu0.18.04.1
- 1.0.9-0ubuntu0.1
- 1.0.9-0ubuntu0.2
- 1.0.9-0ubuntu0.3
- 1.0.9-0ubuntu0.4
- 1.0.9-0ubuntu0.4+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:Pro:20.04:LTS
- Versions
- 1.4.3-1
- 1.6.0-1
- 1.6.1-1
- 1.6.2-1
- 1.6.3-1
- 1.6.5-0ubuntu0.1
- 1.6.5-0ubuntu0.2
- 1.6.5-0ubuntu0.3
- 1.6.5-0ubuntu0.4
- 1.6.5-0ubuntu0.5
- 1.6.5-0ubuntu0.5+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:Pro:22.04:LTS
- Versions
- 1.10.2-3
- 1.12.2-1
- 1.12.2-2
- 1.12.3-1
- 1.12.4-1
- 1.12.5-1
- 1.12.6-1
- 1.12.7-1
- 1.12.7-1ubuntu0.1
- 1.12.7-1ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:Pro:24.04:LTS
- Versions
- 1.14.4-2
- 1.14.5-1
- 1.14.5-1build1
- 1.14.5-1build4
- 1.14.5-1build5
- 1.14.5-1build6
- 1.14.6-1
- 1.14.6-1ubuntu0.1
- 1.14.6-1ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:25.10
- Versions
- 1.16.0-2
- 1.16.1-1build1
- 1.16.1-2
- 1.16.1-2ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:26.10
- Versions
- 1.16.6-1
- 1.18.0-1
- 1.18.1-1
- 1.18.2-1
- 1.18.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
flatpak Ubuntu:26.04:LTS
- Versions
- 1.16.1-2ubuntu1
- 1.16.1-3ubuntu1
- 1.16.2-1
- 1.16.3-1
- 1.16.3-1build1
- 1.16.4-1
- 1.16.4-2
- 1.16.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2023-28100