Vulnerability · Published Mar 16, 2023 · Assigned by GitHub_M
CVE-2023-28101Flatpak metadata with ANSI control codes can cause misleading terminal output
Medium 5.0
In plain English
A medium-severity security flaw in flatpak from flatpak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | flatpak | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux:9 | flatpak | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux:8 | flatpak-devel | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux:9 | flatpak-devel | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux:8 | flatpak-libs | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux:9 | flatpak-libs | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux:8 | flatpak-selinux | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux:9 | flatpak-selinux | 1.12.8-1.el9 | ALSA-2023:6518 |
| AlmaLinux:8 | flatpak-session-helper | 1.10.8-1.el8 | ALSA-2023:7038 |
| AlmaLinux:9 | flatpak-session-helper | 1.12.8-1.el9 | ALSA-2023:6518 |
| Debian:12 | flatpak | 1.14.4-1 | DEBIAN-CVE-2023-28101 |
| Debian:13 | flatpak | 1.14.4-1 | DEBIAN-CVE-2023-28101 |
| Debian:14 | flatpak | 1.14.4-1 | DEBIAN-CVE-2023-28101 |
| Rocky Linux:9 | flatpak | 0:1.12.8-1.el9 | RLSA-2023:6518 |
| Ubuntu:25.10 | flatpak | no fix listed | UBUNTU-CVE-2023-28101 |
| Ubuntu:26.04:LTS | flatpak | no fix listed | UBUNTU-CVE-2023-28101 |
| Ubuntu:26.10 | flatpak | no fix listed | UBUNTU-CVE-2023-28101 |
Affected products (as reported)
Weakness: CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
References
- https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8 x_refsource_CONFIRM
- https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c x_refsource_MISC
- https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869 x_refsource_MISC
- https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c x_refsource_MISC
- https://security.gentoo.org/glsa/202312-12