CVEfocus › CVE database › CVE-2023-28101

CVE-2023-28101Flatpak metadata with ANSI control codes can cause misleading terminal output

CVSS 5.0 MediumEPSS 0.9% (higher than 57% of CVEs)Published 2023-03-16Updated 2025-02-25Assigner: GitHub_M

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.

CWE-116

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
5Fix pending
1Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10flatpakFix pendingUBUNTU-CVE-2023-28101
Ubuntu 26.04flatpakUnder investigationUBUNTU-CVE-2023-28101
Ubuntu 25.10flatpakWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28101
Ubuntu 24.04flatpakFix pendingUBUNTU-CVE-2023-28101
Ubuntu 22.04flatpakFix pendingUBUNTU-CVE-2023-28101
Ubuntu 20.04flatpakFix pendingUBUNTU-CVE-2023-28101
Ubuntu 18.04flatpakFix pendingUBUNTU-CVE-2023-28101
Debian 14flatpakFixed1.14.4-1DEBIAN-CVE-2023-28101
Debian 13flatpakFixed1.14.4-1DEBIAN-CVE-2023-28101
Debian 12flatpakFixed1.14.4-1DEBIAN-CVE-2023-28101
Red Hat Enterprise Linux 9flatpakFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-develFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-libsFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-selinuxFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 9flatpak-session-helperFixed0:1.12.8-1.el9RHSA-2023:6518
Red Hat Enterprise Linux 8flatpakFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-develFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-libsFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-selinuxFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 8flatpak-session-helperFixed0:1.10.8-1.el8RHSA-2023:7038
Red Hat Enterprise Linux 7flatpakWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-builderWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7flatpak-libsWill not fix
Out of support scope
AlmaLinux 9flatpakFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-develFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-libsFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-selinuxFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 9flatpak-session-helperFixed1.12.8-1.el9ALSA-2023:6518
AlmaLinux 8flatpakFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-develFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-libsFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-selinuxFixed1.10.8-1.el8ALSA-2023:7038
AlmaLinux 8flatpak-session-helperFixed1.10.8-1.el8ALSA-2023:7038
Rocky Linux 9flatpakFixed0:1.12.8-1.el9RLSA-2023:6518

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.