oss-sec mailing list archives

[ANNOUNCE] CVE-2017-5635 and CVE-2017-5636


From: Andy LoPresto <alopresto () apache org>
Date: Mon, 6 Mar 2017 15:15:27 -0800

Apache NiFi PMC would like to announce the discovery and resolution of CVE-2017-5635 and CVE-2017-5636. These issues 
have been resolved and new versions of the Apache NiFi project were released in accordance with the Apache Release 
Process.

Fixed in Apache NiFi 0.7.2 and 1.1.2

CVE-2107-5635: Apache NiFi Unauthorized Data Access In Cluster Environment

Severity: Important

Versions Affected:

Apache NiFi 0.7.0
Apache NiFi 0.7.1
Apache NiFi 1.1.0
Apache NiFi 1.1.1
Description: In a cluster environment, if an anonymous user request is replicated to another node, the originating node 
identity is used rather than the “anonymous” user.

Mitigation: A fix has been provided (removing the negative check for anonymous user before building the proxy chain and 
throwing an exception, and evaluating each user in the proxy chain iteration and comparing against a static constant 
anonymous user). This fix was applied in NIFI-3487 and released in Apache NiFi 0.7.2 and 1.1.2. 1.x users running a 
clustered environment should upgrade to 1.1.2. 0.x users running a clustered environment should upgrade to 0.7.2.

Credit: This issue was discovered by Leonardo Dias in conjunction with Matt Gilman.

CVE-2107-5636: Apache NiFi User Impersonation In Cluster Environment

Severity: Moderate

Versions Affected:

Apache NiFi 0.7.0
Apache NiFi 0.7.1
Apache NiFi 1.1.0
Apache NiFi 1.1.1
Description: 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.

Mitigation: A fix has been provided (modification of the tokenization code and sanitization of user-provided input). 
This fix was applied in NIFI-3487 and released in Apache NiFi 0.7.2 and 1.1.2. 1.x users running a clustered 
environment should upgrade to 1.1.2. 0.x users running a clustered environment should upgrade to 0.7.2.

Credit: This issue was discovered by Andy LoPresto.

Andy LoPresto
alopresto () apache org
alopresto.apache () gmail com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Current thread: