MiNiFi - a subproject of Apache NiFi - is a complementary data collection approach that supplements the core tenets of NiFi in dataflow management, focusing on the collection of data at the source of its creation.
Apache NiFi MiNiFi C++ contain an uncontrolled memory allocation in its InputStream reader: a length field read from a site-to-site or C2 stream is used to size a std::vector with no upper bound, so a peer that advertises a ~4 GB length forces an allocation that throws std::bad_alloc and crashes the agent. Site-to-site peers and C2 servers are treated as trusted and TLS is expected for production deployments, so TLS with peer verification prevents an untrusted party from reaching the reader.