VDB
Sign up
HIGH8.7

GHSA-c5w7-m8wf-xc77

Apache NiFi: Missing Authorization of Restricted Permissions for Component Updates

Quick fix

GHSA-c5w7-m8wf-xc77 — org.apache.nifi:nifi-web-api: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.8.0</version> for org.apache.nifi:nifi-web-api

Details

Apache NiFi 1.1.0 through 2.7.2 are missing authorization when updating configuration properties on extension components that have specific Required Permissions based on the Restricted annotation. The Restricted annotation indicates additional privileges required to add the annotated component to the flow configuration, but framework authorization did not check restricted status when updating a component previously added. The missing authorization requires a more privileged user to add a restricted component to the flow configuration, but permits a less privileged user to make property configuration changes. Apache NiFi installations that do not implement different levels of authorization for Restricted components are not subject to this vulnerability because the framework enforces write permissions as the security boundary. Upgrading to Apache NiFi 2.8.0 is the recommended mitigation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.nifi:nifi-web-api
Introduced in: 1.1.0Fixed in: 2.8.0
Fix# pom.xml: bump <version>2.8.0</version> for org.apache.nifi:nifi-web-api

References