{"id":"CVE-2023-28101","state":"PUBLISHED","title":"Flatpak metadata with ANSI control codes can cause misleading terminal output","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.","publishedAt":"2023-03-16T15:55:53.576Z","updatedAt":"2025-02-25T14:55:35.911Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["flatpak flatpak"],"affected":[{"vendor":"flatpak","product":"flatpak","versions":[{"version":"< 1.10.8","status":"affected"},{"version":">= 1.12.0, < 1.12.8","status":"affected"},{"version":">= 1.14.0, < 1.14.4","status":"affected"},{"version":">= 1.15.0, < 1.15.4","status":"affected"}]}],"references":["https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","https://security.gentoo.org/glsa/202312-12"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/28xxx/CVE-2023-28101.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-28101","state":"PUBLISHED","datePublished":"2023-03-16T15:55:53.576Z","dateUpdated":"2025-02-25T14:55:35.911Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-10T18:34:29.226Z"},"containers":{"cna":{"title":"Flatpak metadata with ANSI control codes can cause misleading terminal output","descriptions":[{"lang":"en","value":"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":[{"vendor":"flatpak","product":"flatpak","versions":[{"version":"< 1.10.8","status":"affected"},{"version":">= 1.12.0, < 1.12.8","status":"affected"},{"version":">= 1.14.0, < 1.14.4","status":"affected"},{"version":">= 1.15.0, < 1.15.4","status":"affected"}]}],"references":[{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","name":"https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","name":"https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","tags":["x_refsource_MISC"]},{"url":"https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","name":"https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","tags":["x_refsource_MISC"]},{"url":"https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","name":"https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202312-12"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-23T10:06:26.709Z"},"source":{"advisory":"GHSA-h43h-fwqx-mpp8","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","name":"https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","name":"https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","name":"https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","name":"https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202312-12","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:30:24.112Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:29:25.331087Z","id":"CVE-2023-28101","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:55:35.911Z"}}]}}}