{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-39245",
        "STATE": "PUBLIC",
        "TITLE": "Mist vulnerable to user providing a Sudo binary for authentication checks"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "mist",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 0.9.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "makedeb"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Mist is the command-line interface for the makedeb Package Repository. Prior to version 0.9.5, a user-provided `sudo` binary via the `PATH` variable can allow a local user to run arbitrary commands on the user's system with root permissions. Versions 0.9.5 and later contain a patch. No known workarounds exist."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-305: Authentication Bypass by Primary Weakness"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-287: Improper Authentication"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/makedeb/mist/security/advisories/GHSA-pxg4-7c7r-2ww6",
                "refsource": "CONFIRM",
                "url": "https://github.com/makedeb/mist/security/advisories/GHSA-pxg4-7c7r-2ww6"
            },
            {
                "name": "https://github.com/makedeb/mist/commit/e257561a32cffe3c541b265097959adaea3d6b67",
                "refsource": "MISC",
                "url": "https://github.com/makedeb/mist/commit/e257561a32cffe3c541b265097959adaea3d6b67"
            },
            {
                "name": "https://github.com/makedeb/mist/releases/tag/v0.9.5",
                "refsource": "MISC",
                "url": "https://github.com/makedeb/mist/releases/tag/v0.9.5"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-pxg4-7c7r-2ww6",
        "discovery": "UNKNOWN"
    }
}