CVE-2024-56512: Apache NiFi Missing Complete Authorization For Parameter Vulnerability
LOWCVE-2024-56512 is a LOW (CVSS 5.4) missing complete authorization for parameter vulnerability (CWE-862: Missing Authorization) affecting Apache NiFi libraries in the Maven ecosystem. The issue involves missing complete authorization for parameter and service references. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2024-56512 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2024-56512
To remediate this vulnerability, upgrade all affected Apache NiFi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-web-api</artifactId>
<version>2.1.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.nifi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-56512, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.nifi
Analyze the terminal output to locate any version of Apache NiFi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.nifi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Apache NiFi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-56512 Affected Apache NiFi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.nifi:nifi-web-api
|
Maven |
≥ 1.10.0
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2024-56512?
Which Apache NiFi versions are affected?
What version fixes CVE-2024-56512?
Is nifi-web-api affected?
What is the CVSS score of CVE-2024-56512?
What CWE is associated with CVE-2024-56512?
How can I check Maven dependencies for CVE-2024-56512?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mpj7-7mg7-x95j",
"modified" : "2025-02-11T19:04:04Z",
"published" : "2024-12-28T18:30:48Z",
"aliases" : [ "CVE-2024-56512" ],
"summary" : "Apache NiFi: Missing Complete Authorization for Parameter and Service References",
"details" : "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.\n\nCreating 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.\n\nCreating 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.\n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/U:Green"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-web-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-56512"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/f744deebf9a9effdbbff79ce6073ec329b5f45da"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/nifi"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/cjc8fns5kjsho0s7vonlnojokyfx47wn"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/12/28/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-638", "CWE-862" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-30T16:52:08Z",
"nvd_published_at" : "2024-12-28T17:15:07Z"
}
}