Skip to main content
← All vulnerabilities
CVE-2023-28100

TIOCLINUX can send commands outside sandbox if running on a virtual console

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.10.8, 1.12.8, 1.14.4, 1.15.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • flatpak flatpak

    fixed in 1.10.8; From 1.12.0 · fixed in 1.12.8; From 1.14.0 · fixed in 1.14.4; From 1.15.0 · fixed in 1.15.4

References 4

GitHub · flatpak/flatpak

marc.info

security.gentoo.org