CVE-2024-56512: Apache NiFi - Incomplete Authorization for Parameter Contexts and Service References

org.apache.nifi:nifi-web-api Updated 02 Oct 2025

Summary

28/12/2024
Yes i
Low
5.4

CVE-2024-56512: Apache NiFi: Missing Complete Authorization for Parameter and Service References. Affects org.apache.nifi:nifi-web-api versions >= 1.10.0, < 2.1.0. Fixed in 2.1.0. How to fix ↓

Also tracked for

The same CVE-2024-56512 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache NiFi is a powerful data integration tool designed for automating the flow of data between systems. It provides a user-friendly interface for managing data flows, enabling users to create, monitor, and control data pipelines. The tool supports various data formats and protocols, making it versatile for different use cases. However, certain versions of Apache NiFi (1.10.0 through 2.0.0) have a vulnerability that compromises the authorization checks for Parameter Contexts and referenced Controller Services, potentially exposing sensitive data.

Vulnerability Detail

The vulnerability arises from the lack of fine-grained authorization checks when creating new Process Groups in Apache NiFi. Specifically, when a user creates a Process Group that binds to a Parameter Context, the system fails to verify if the user has the necessary permissions for that Parameter Context. This oversight allows authenticated users to access non-sensitive Parameter values without proper authorization. Additionally, the framework does not enforce authorization for referenced Controller Services or Parameter Providers, enabling unauthorized users to create Process Groups that utilize these components. The vulnerability is limited to authenticated users who are authorized to create Process Groups and is particularly relevant in deployments with component-based authorization policies.

How To Fix

Minimum fixed version

2.1.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can review and adjust their authorization policies to restrict access to sensitive Parameter Contexts and Controller Services until the upgrade can be performed. However, this is not a complete solution and should only be considered a stopgap measure.

Conclusion

The vulnerability identified as CVE-2024-56512 in Apache NiFi poses a risk due to incomplete authorization checks when creating Process Groups. It is crucial for users to upgrade to version 2.1.0 or later to mitigate this risk effectively. Additionally, users can utilize Vulert to monitor their applications for vulnerabilities in real-time.

See every vulnerability recorded for org.apache.nifi:nifi-web-api →

Share this vulnerability

FAQ

Apache NiFi versions 1.10.0 through 2.0.0 are affected by this vulnerability.

The vulnerability allows authenticated users to access non-sensitive Parameter values and create Process Groups using unauthorized Controller Services and Parameter Providers.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

Yes, upgrading to Apache NiFi version 2.1.0 or later addresses this vulnerability.

If an immediate upgrade is not possible, review and adjust your authorization policies to limit access to sensitive components.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.nifi:nifi-web-api.

How To Fix

Minimum fixed version

2.1.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback