{"id":"CVE-2024-56512","published":"2024-12-28T16:18:46Z","modified":"2024-12-30T16:12:25Z","title":"Apache NiFi: Missing Complete Authorization for Parameter and Service References","vendor":"Apache","product":"Apache NiFi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"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/S:P/AU:Y/R:U/V:C/RE:L/U:Green","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03268,"percentile":0.88699,"provenance":"source"},"cwes":[{"id":"CWE-638","name":"Not Using Complete Mediation"}],"references":[{"url":"https://lists.apache.org/thread/cjc8fns5kjsho0s7vonlnojokyfx47wn","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/12/28/1","tags":[]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":17.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":1.47}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-01-06","earliestUrl":"https://github.com/absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit","repos":[{"name":"absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit","url":"https://github.com/absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit","stars":4,"created":"2025-01-06"}]},"nuclei":[{"id":"CVE-2024-56512","name":"Apache NiFi - Information Disclosure","severity":"medium","path":"http/cves/2024/CVE-2024-56512.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-56512.yaml"}],"first":{"date":"2025-01-06","source":"PoC-in-GitHub","url":"https://github.com/absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","versions":[">= 1.10.0, <= 2.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-30T16:12:08.985164Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.nifi:nifi-web-api","vulnerableRanges":[">=1.10.0, <2.1.0"],"patched":["2.1.0"],"from":["GHSA-mpj7-7mg7-x95j"],"provenance":"source"}],"summary":{"text":"Apache NiFi versions 1.10.0 through 2.0.0 fail to perform fine-grained authorization checks on Parameter Contexts, referenced Controller Services, and referenced Parameter Providers when a new Process Group is created. An attacker who is an authenticated user already authorized to create Process Groups, in a deployment using component-based authorization policies, can download non-sensitive Parameter values or use Controller Services and Parameter Providers they are not authorized for.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:24Z"},"euvd":{"id":"EUVD-2024-3602","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-nifi-cve-2024-56512","children":[{"from":"CVE-2024-56512","to":"CVE-2026-25903","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.nifi:nifi-web-api","fromFixed":"2.1.0","toFixed":"2.8.0","daysApart":416},{"kind":"same-code","provenance":"machine","files":["nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java"],"commits":["https://github.com/apache/nifi/commit/f744deebf9a9effdbbff79ce6073ec329b5f45da","https://github.com/apache/nifi/commit/119f8881fbc3cbd0d522b0c549b841da3de01f64"],"basis":"rarely changed file"}]},{"from":"CVE-2024-56512","to":"CVE-2026-44914","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizableLookup.java","nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/StandardAuthorizableLookup.java","nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java","nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java","nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/FlowUpdateResource.java"],"commits":["https://github.com/apache/nifi/commit/f744deebf9a9effdbbff79ce6073ec329b5f45da","https://github.com/apache/nifi/commit/8fb3240441282825b6ef131b856c67b2476aeb28"],"basis":"shared function","functions":["AuthorizableLookup","authorizeFlowUpdate","authorizeSnippetUsage","copySnippet","createProcessGroup"]}]}],"packageHistory":[{"cve":"CVE-2019-10083","published":"2019-11-19","fixed":"1.10.0","kev":false},{"cve":"CVE-2019-12421","published":"2019-11-19","fixed":"1.10.0","kev":false},{"cve":"CVE-2024-56512","published":"2024-12-28","fixed":"2.1.0","kev":false},{"cve":"CVE-2026-25903","published":"2026-02-17","fixed":"2.8.0","kev":false},{"cve":"CVE-2026-44914","published":"2026-06-22","fixed":"2.9.0","kev":false},{"cve":"CVE-2026-44911","published":"2026-06-22","fixed":"2.10.0","kev":false}],"package":"Maven:org.apache.nifi:nifi-web-api"}}