{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-21878",
        "ASSIGNER": "csirt@divd.nl",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                        "cweId": "CWE-77"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Enphase",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Envoy",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "status": "affected",
                                                        "version": "8.x",
                                                        "lessThan": "8.2.4225",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "affected",
                                                        "version": "7.x",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "affected",
                                                        "version": "6.x",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "affected",
                                                        "version": "5.x",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "affected",
                                                        "version": "4.x",
                                                        "versionType": "semver"
                                                    }
                                                ],
                                                "defaultStatus": "affected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://csirt.divd.nl/CVE-2024-21878",
                "refsource": "MISC",
                "name": "https://csirt.divd.nl/CVE-2024-21878"
            },
            {
                "url": "https://csirt.divd.nl/DIVD-2024-00011",
                "refsource": "MISC",
                "name": "https://csirt.divd.nl/DIVD-2024-00011"
            },
            {
                "url": "https://enphase.com/cybersecurity/advisories/ensa-2024-3",
                "refsource": "MISC",
                "name": "https://enphase.com/cybersecurity/advisories/ensa-2024-3"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.2.0"
    },
    "source": {
        "advisory": "DIVD-2024-00011",
        "discovery": "INTERNAL"
    },
    "work_around": [
        {
            "lang": "en",
            "value": "It is adviced to not expose this device to untrusted network acces. In other words, make sure this decvice is not reachable from the internet, a guest network or a public network.\nThis will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced.",
            "supportingMedia": [
                {
                    "type": "text/html",
                    "base64": false,
                    "value": "It is adviced to not expose this device to untrusted network acces. In other words, make sure this decvice is not reachable from the internet, a guest network or a public network.<br>This will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced."
                }
            ]
        }
    ],
    "solution": [
        {
            "lang": "en",
            "value": "Devices are remotely being updated by the vendor.",
            "supportingMedia": [
                {
                    "type": "text/html",
                    "base64": false,
                    "value": "Devices are remotely being updated by the vendor."
                }
            ]
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Wietse Boonstra of DIVD"
        },
        {
            "lang": "en",
            "value": "Hidde Smit of DIVD"
        },
        {
            "lang": "en",
            "value": "Frank Breedijk of DIVD"
        },
        {
            "lang": "en",
            "value": "Max van der Horst of DIVD"
        }
    ]
}