Bug 2179219 (CVE-2023-28101) - CVE-2023-28101 flatpak: Metadata with ANSI control codes can cause misleading terminal output
Summary: CVE-2023-28101 flatpak: Metadata with ANSI control codes can cause misleading...
Keywords:
Status: NEW
Alias: CVE-2023-28101
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2179223 2179224 2180311 2180312
Blocks: 2179174
TreeView+ depends on / blocked
 
Reported: 2023-03-17 05:01 UTC by Sandipan Roy
Modified: 2023-11-14 15:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Flatpak, a system for building, distributing, and running sandboxed desktop applications on Linux. Suppose an attacker publishes a Flatpak app with elevated permissions. In that case, 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.`
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:6518 0 None None None 2023-11-07 08:18:30 UTC
Red Hat Product Errata RHSA-2023:7038 0 None None None 2023-11-14 15:19:14 UTC

Description Sandipan Roy 2023-03-17 05:01:57 UTC
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.

https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869
https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c
https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c
https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8

Comment 1 Sandipan Roy 2023-03-17 05:07:04 UTC
Created flatpak tracking bugs for this issue:

Affects: fedora-36 [bug 2179223]
Affects: fedora-37 [bug 2179224]

Comment 4 errata-xmlrpc 2023-11-07 08:18:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6518 https://access.redhat.com/errata/RHSA-2023:6518

Comment 5 errata-xmlrpc 2023-11-14 15:19:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7038 https://access.redhat.com/errata/RHSA-2023:7038


Note You need to log in before you can comment on or make changes to this bug.