# CVE-2021-33191: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.02%, higher than 90% of CVEs (2026-12-01)
- Published: 2021-08-24T11:20:09.000Z
- Modified: 2026-06-17T03:54:19.737Z
- Weaknesses: CWE-78
- Assigned by: apache

## 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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache NiFi - MiNiFi C++: from 0.5.0 before Apache NiFi - MiNiFi C++*
- apache nifi_minifi_c++: from 0.5.0 before 0.10.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.openwall.com/lists/oss-security/2021/08/24/1> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/08/24/1> (mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/r6f27a2454f5f67dbe4e21c8eb1db537b01863a0bc3758f28aa60f032%40%3Cannounce.apache.org%3E> (mailing-list)

## Sources

- CVE List: [CVE-2021-33191](https://www.cve.org/CVERecord?id=CVE-2021-33191), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-33191](https://nvd.nist.gov/vuln/detail/CVE-2021-33191), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33191 · Whole record: https://cve.day/CVE-2021-33191.json · Rebuilt by cve.day 2026-11-25T22:58:03.385Z
