Vulnerabilities · 2023 · Flatpak
CVE-2023-28100
Flatpak vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Flatpak. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Flatpak runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/flatpak/flatpak/security/advisories/GHSA-7qpw-3vjv-xrqp · Patch
- github.com/flatpak/flatpak/commit/8e63de9a7d3124f91140fc74f8ca9ed73ed53be9 · Patch
- marc.info/?l=oss-security&m=167879021709955&w=2
- security.gentoo.org/glsa/202312-12
- nvd.nist.gov/vuln/detail/CVE-2023-28100
- cve.org/CVERecord?id=CVE-2023-28100
More vulnerabilities in Flatpak products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.