{"id":"CVE-2023-28101","published":"2023-03-16T15:55:53Z","modified":"2025-02-25T14:55:35Z","title":"Flatpak metadata with ANSI control codes can cause misleading terminal output","vendor":"flatpak","product":"flatpak","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00879,"percentile":0.59957,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","tags":["x_refsource_MISC"]},{"url":"https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","tags":["x_refsource_MISC"]},{"url":"https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202312-12","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":11.99},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"flatpak","affectedVersions":[{"vendor":"flatpak","product":"flatpak","versions":["< 1.10.8",">= 1.12.0, < 1.12.8",">= 1.14.0, < 1.14.4",">= 1.15.0, < 1.15.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T14:29:25.331087Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-31826","exploited":false,"provenance":"source"}}