QID 355585

Date Published: 2023-07-24

QID 355585: Amazon Linux Security Advisory for flatpak : ALAS2-2023-2134

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. (
( CVE-2023-28100)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2134 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355585

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2134 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2134.html