Apache NiFi: Improper Handling of Case Sensitivity for Content-Encoding in HTTP Requests
Apache Software Foundation Apache NiFi
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache NiFi |
| No fix yet |
Original description
Apache NiFi 2.11.0 disabled support for gzip-encoded HTTP requests for the application REST API and rejected requests that included the standard Content-Encoding header indicating gzip encoding. The framework enforcement filter did not check multiple instances of the Content-Encoding header and did not reject non-standard identifiers for gzip encoding, allowing a malicious client to send crafted requests that could consume excessive amounts of memory. Upgrading to Apache NiFi 2.12.0 is the recommended mitigation, which disables decompression of gzip-encoded HTTP requests regardless of header number or encoding identifiers.
From the CVE record · apache