CVE-2021-33191

published 24 Aug 2021 · updated 3 Aug 2024

MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol

5.0MediumEPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in Apache NiFi - MiNiFi C++*.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=0.5.0 <Apache NiFi - MiNiFi C++*Apache NiFi - MiNiFi C++*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-33191 severity on Zeptric[![CVE-2021-33191](https://zeptric.io/badge/cve/CVE-2021-33191.svg)](https://zeptric.io/cve/CVE-2021-33191)