What’s Vulnerable › Vulnerabilities
CVE-2021-33191: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-08-24 · updated 2026-06-17
- Weakness: CWE-78
Description
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
Affected products
- Apache Software Foundation Apache NiFi MiNiFi C++: from 0.5.0 before 0.10.0 — fixed in 0.10.0
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache NiFi MiNiFi C++ 0.10.0. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2021/08/24/1
- https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032%40%3Cannounce.apache.org%3E
- https://www.openwall.com/lists/oss-security/2021/08/24/1
- http://www.openwall.com/lists/oss-security/2021/08/24/1
- https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032%40%3Cannounce.apache.org%3E
- https://www.openwall.com/lists/oss-security/2021/08/24/1
Get alerted when CVE-2021-33191 or the next vulnerability affects your stack