{"id":"CVE-2021-33191","published":"2021-08-24T11:20:09Z","modified":"2024-08-03T23:42:20Z","title":"MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol","vendor":"Apache","product":"Apache NiFi - MiNiFi C++","tier":"tail","description":{"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04024,"percentile":0.90827,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/08/24/1","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/24/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":18.17}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache NiFi - MiNiFi C++","versions":[">= 0.5.0, < Apache NiFi - MiNiFi C++*"]}],"fixedVersions":[{"vendor":"Apache Software Foundation","product":"Apache NiFi - MiNiFi C++","versions":["0.10.0"]}],"summary":{"text":"The flaw is an OS command injection in Apache NiFi MiNiFi C++ (from version 0.5.0, fixed in 0.10.0) within the c2 protocol's \"agent-update\" command, which is meant to patch the application binary and defaults to a trusted binary. An attacker who can send a \"c2-update\" command can change that value to an arbitrary command, which then runs with the same privileges as the MiNiFi application binary on the agent's host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:04Z"},"euvd":{"id":"EUVD-2021-19906","exploited":false,"provenance":"source"}}