If you are using NiFi 1.0.0 with HDF 2.0 there is a plan for another release (e.g. v. 2.0.1) that should include this fix. In the meantime if you are using NiFi outside of HDF the current course of action is to download the actual NiFi source and build it separately (unfortunately there isn't a specific patch file to apply to an existing installation). Here is the quick start guide that has information on building from source.
I hope this helps and thank you for highlighting this issue.