Vulnerability · Published Aug 24, 2021 · Assigned by apache
CVE-2021-33191MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol
Critical 9.8
In plain English
A critical-severity OS command injection in Apache NiFi - MiNiFi C++ from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache NiFi - MiNiFi C++ | 0.5.0 – before Apache NiFi - MiNiFi C++* |
Weakness: CWE-78
References
- https://www.openwall.com/lists/oss-security/2021/08/24/1 x_refsource_MISC
- [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 mailing-list, x_refsource_MLIST
- [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 mailing-list, x_refsource_MLIST