{
    "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2021-33191",
        "STATE": "PUBLIC",
        "TITLE": "MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Apache NiFi - MiNiFi C++",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": ">=",
                                            "version_name": "Apache NiFi - MiNiFi C++",
                                            "version_value": "0.5.0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "Apache NiFi - MiNiFi C++",
                                            "version_value": "0.10.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Apache Software Foundation"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "From Apache NiFi MiNiFi C++ version 0.5.0 the c2 protocol implements an \"agent-update\" command which was designed to patch the application binary. This \"patching\" command defaults to calling a trusted binary, but might be modified to an arbitrary value through a \"c2-update\" command. Said command is then executed using the same privileges as the application binary. This was addressed in version 0.10.0"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": [
        {}
    ],
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-78 OS Command Injection"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://www.openwall.com/lists/oss-security/2021/08/24/1",
                "name": "https://www.openwall.com/lists/oss-security/2021/08/24/1"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20210824 CVE-2021-33191: Apache NiFi - MiNiFi C++: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol",
                "url": "http://www.openwall.com/lists/oss-security/2021/08/24/1"
            },
            {
                "refsource": "MLIST",
                "name": "[announce] 20210824 CVE-2021-33191: Apache NiFi - MiNiFi C++: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol",
                "url": "https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032@%3Cannounce.apache.org%3E"
            }
        ]
    },
    "source": {
        "discovery": "UNKNOWN"
    }
}