{"id":"CVE-2021-33191","aliases":["CVE-2021-33191"],"related":[],"kind":"vulnerability","state":"published","title":"MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Apache NiFi MiNiFi C++ versión 0.5.0, el protocolo c2 implementa un comando \"agent-update\" que fue diseñado para parchear el binario de la aplicación. Este comando de \"patching\" predeterminado llama a un binario confiable, pero puede ser modificado a un valor arbitrario mediante un comando \"c2-update\". Dicho comando es ejecutado entonces usando los mismos privilegios que el binario de la aplicación. Esto fue solucionado en versión 0.10.0.","source":"nvd"}],"published":"2021-08-24T11:20:09.000Z","modified":"2026-06-17T03:54:19.737Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0.5.0","fixed":"Apache NiFi - MiNiFi C++*","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache NiFi - MiNiFi C++","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.5.0","fixed":"0.10.0"}],"vendor":"apache","product":"nifi_minifi_c++","cpe":"cpe:2.3:a:apache:nifi_minifi_c\\+\\+:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/08/24/1","tags":["mailing-list","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/24/1","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032%40%3Cannounce.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33191","url":"https://www.cve.org/CVERecord?id=CVE-2021-33191","licence":"CVE Terms of Use","modified":"2024-08-03T23:42:20.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33191","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33191","licence":"Public domain","modified":"2026-06-17T03:54:19.737Z"}],"updatedAt":"2026-11-25T22:58:03.385Z","epss":{"score":0.04024,"percentile":0.90831,"date":"2026-12-01T12:00:22.000Z"}}