CVE-2017-5636 Injection in Apache NiFi
Attackers can impersonate users and gain permissions in Apache NiFi clusters via crafted usernames in proxy chain serialization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-5636?
CVE-2017-5636 is a critical unsafe deserialization vulnerability in Apache Nifi, published on 19 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization is vulnerable to an injection attack where a carefully crafted username could impersonate another user and gain their permissions on a replicated request to another node.
Weakness: CWE-74
Which versions are affected by CVE-2017-5636?
4 open source packages ship an affected version, including org.apache.nifi:nifi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.nifi:nifi Maven | All versions | 0.7.2 |
org.apache.nifi:nifi Maven | All versions | 0.7.2 |
org.apache.nifi:nifi Maven | From 1.0.0 | 1.1.2 |
org.apache.nifi:nifi Maven | From 1.0.0 | 1.1.2 |
Products include Apache Nifi.
How do I fix CVE-2017-5636?
Upgrade org.apache.nifi:nifi to a fixed version for your release line: 0.7.2 or 1.1.2.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2017-5636 being exploited?
There is no known exploitation of CVE-2017-5636 in the wild and no public exploit code.
Other vulnerabilities in Apache Nifi
- CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
- CVE-2023-34468 Apache NiFi: Potential Code Injection with Database Services using H2
Sources
Also known as GHSA-jrcc-7jf5-3pxg.