{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-28101",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-116: Improper Encoding or Escaping of Output",
                        "cweId": "CWE-116"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "flatpak",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "flatpak",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 1.10.8"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 1.12.0, < 1.12.8"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 1.14.0, < 1.14.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 1.15.0, < 1.15.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8",
                "refsource": "MISC",
                "name": "https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8"
            },
            {
                "url": "https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c",
                "refsource": "MISC",
                "name": "https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c"
            },
            {
                "url": "https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869",
                "refsource": "MISC",
                "name": "https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869"
            },
            {
                "url": "https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c",
                "refsource": "MISC",
                "name": "https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c"
            },
            {
                "url": "https://security.gentoo.org/glsa/202312-12",
                "refsource": "MISC",
                "name": "https://security.gentoo.org/glsa/202312-12"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-h43h-fwqx-mpp8",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "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"
            }
        ]
    }
}