Skip to content
OpenAdvisories
Medium · 5.0 CVE-2023-28101 EUVD-2023-31826

Flatpak metadata with ANSI control codes can cause misleading terminal output

Published Mar 16, 2023 · Updated Feb 25, 2025 · Assigned by GitHub_M

Description

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4, if an attacker publishes a Flatpak app with elevated permissions, they can hide those permissions from users of the `flatpak(1)` command-line interface by setting other permissions to crafted values that contain non-printable control characters such as `ESC`. A fix is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, use a GUI like GNOME Software rather than the command-line interface, or only install apps whose maintainers you trust.

Affected products

VendorProductAffectedFixed
flatpak flatpak < 1.10.8, >= 1.12.0, < 1.12.8, >= 1.14.0, < 1.14.4, >= 1.15.0, < 1.15.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 flatpak 1.14.4-1 —
Debian 13 flatpak 1.14.4-1 —
Debian 12 flatpak 1.14.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 flatpak No fix yet —
Ubuntu 26.04 LTS flatpak No fix yet —
Ubuntu 25.10 flatpak No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS flatpak No fix yet —
Ubuntu Pro 22.04 LTS flatpak No fix yet —
Ubuntu Pro 20.04 LTS flatpak No fix yet —
Ubuntu Pro 18.04 LTS flatpak No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 flatpak +4 1.12.8-1.el9 RHSA-2023:6518
RHEL 8 flatpak +4 1.10.8-1.el8 RHSA-2023:7038

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 flatpak +4 1.12.8-1.el9 ALSA-2023:6518
AlmaLinux 8 flatpak +4 1.10.8-1.el8 ALSA-2023:7038

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 flatpak 1.12.8-1.el9 RLSA-2023:6518
ReleasePackageFixed inAdvisory
SLES 15 SP4 flatpak 1.12.8-150400.3.3.1 SUSE-SU-2023:1715-1
SLES 15 SP3 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLES 15 SP2 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLES 15 SP1 flatpak 1.2.3-150100.4.11.1 SUSE-SU-2023:1713-1
SLES 12 SP5 flatpak 1.4.2-3.3.1 SUSE-SU-2023:1712-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLES for SAP 15 SP2 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLES for SAP 15 SP1 flatpak 1.2.3-150100.4.11.1 SUSE-SU-2023:1713-1
SLES for SAP 12 SP5 flatpak 1.4.2-3.3.1 SUSE-SU-2023:1712-1
SLE Real Time 15 SP3 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLE HPC 15 SP3 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLE HPC 15 SP2 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SLE HPC 15 SP1 flatpak 1.2.3-150100.4.11.1 SUSE-SU-2023:1713-1
SUSE Enterprise Storage 7.1 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
SUSE Enterprise Storage 7 flatpak 1.10.8-150200.4.15.1 SUSE-SU-2023:1714-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed flatpak 1.14.4-1.1 openSUSE-SU-2024:12800-1
openSUSE Leap 15.4 flatpak 1.12.8-150400.3.3.1 SUSE-SU-2023:1715-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 flatpak +4 1.12.8-1.el9 ELSA-2023-6518
Oracle Linux 8 flatpak +4 1.10.8-1.el8 ELSA-2023-7038

Advisories 13

References