Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.nifi/nifi-framework-core
  4. ›
  5. CVE-2024-56512

CVE-2024-56512: Apache NiFi: Missing Complete Authorization for Parameter and Service References

December 28, 2024 (updated December 30, 2024)

Apache NiFi 1.10.0 through 2.0.0 are missing fine-grained authorization checking for Parameter Contexts, referenced Controller Services, and referenced Parameter Providers, when creating new Process Groups.

Creating a new Process Group can include binding to a Parameter Context, but in cases where the Process Group did not reference any Parameter values, the framework did not check user authorization for the bound Parameter Context. Missing authorization for a bound Parameter Context enabled clients to download non-sensitive Parameter values after creating the Process Group.

Creating a new Process Group can also include referencing existing Controller Services or Parameter Providers. The framework did not check user authorization for referenced Controller Services or Parameter Providers, enabling clients to create Process Groups and use these components that were otherwise unauthorized.

This vulnerability is limited in scope to authenticated users authorized to create Process Groups. The scope is further limited to deployments with component-based authorization policies. Upgrading to Apache NiFi 2.1.0 is the recommended mitigation, which includes authorization checking for Parameter and Controller Service references on Process Group creation.

References

  • github.com/advisories/GHSA-mpj7-7mg7-x95j
  • github.com/apache/nifi
  • github.com/apache/nifi/commit/f744deebf9a9effdbbff79ce6073ec329b5f45da
  • lists.apache.org/thread/cjc8fns5kjsho0s7vonlnojokyfx47wn
  • nvd.nist.gov/vuln/detail/CVE-2024-56512

Code Behaviors & Features

Detect and mitigate CVE-2024-56512 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.10.0 before 2.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Weakness

  • CWE-638: Not Using Complete Mediation

Source file

maven/org.apache.nifi/nifi-framework-core/CVE-2024-56512.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.