{"answers":{"affected":"3 open source packages ship an affected version, including org.apache.nifi:nifi-web-api and nifi. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56512 exists.","fix":"Upgrade org.apache.nifi:nifi-web-api to 2.1.0 or later.","what":"CVE-2024-56512 is a low-severity missing authorization vulnerability in Apache Nifi, published on 28 Dec 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-56512 and fix it if it is affected.\n\nWhat it is: CVE-2024-56512 is a low-severity missing authorization vulnerability in Apache Nifi, published on 28 Dec 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56512 exists.\n\nAffected packages and fixed versions:\n- org.apache.nifi:nifi-web-api (Maven): affected from 1.10.0; fixed in 2.1.0\n- org.apache.nifi:nifi-web-api (Maven): affected from 1.10.0; fixed in 2.1.0\n- nifi (Bitnami): affected from 1.10.0; fixed in 2.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-56512/ (Markdown: https://insights.sbomify.com/CVE-2024-56512/index.md)","id":"CVE-2024-56512","markdown":"https://insights.sbomify.com/CVE-2024-56512/index.md","name":"CVE-2024-56512","record":{"aliases":["BIT-nifi-2024-56512","GHSA-mpj7-7mg7-x95j"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache NiFi","requires_auth":"high_privilege","summary":"Authenticated users can bypass authorization checks to access unauthorized Parameter Contexts and Controller Services when creating Process Groups in Apache NiFi.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"nifi","vendor":"apache"}],"cvss":{"score":2.1,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-638","name":"Not Using Complete Mediation"}],"description":"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.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-01-06","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-01-06T17:35:33Z","kind":"github_poc","ref":"https://github.com/absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit","stars":4,"title":"A tool to exploit the CVE-2024-56512  vulnerability in Apache NiFi, which allows unauthorized access to sensitive data through improperly secured APIs."},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-56512.yaml","stars":null,"title":"Apache NiFi - Information Disclosure"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache NiFi: Missing Complete Authorization for Parameter and Service References","id":"CVE-2024-56512","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:nifi","products":["apache:nifi"],"type":"missing_authorization","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Karmada PULL Mode Cluster Privilege Escalation","id":"CVE-2024-56513"},"packages":[{"ecosystem":"Bitnami","fixed":["2.1.0"],"introduced":["1.10.0"],"last_affected":[],"package":"nifi","purl":"pkg:bitnami/nifi","source":"BIT-nifi-2024-56512"},{"ecosystem":"Maven","fixed":["2.1.0"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.nifi:nifi-web-api","purl":null,"source":"GHSA-mpj7-7mg7-x95j"},{"ecosystem":"Maven","fixed":["2.1.0"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.nifi:nifi-web-api","purl":"pkg:maven/org.apache.nifi/nifi-web-api","source":"GHSA-mpj7-7mg7-x95j"}],"prev":{"headline":"DataEase has an unauthorized vulnerability","id":"CVE-2024-56511"},"products":["Apache NiFi"],"published":"2024-12-28","related":[{"cvss_score":9.8,"headline":"Improper Restriction of XML External Entity Reference in Apache NiFi","id":"CVE-2018-1309","kev_date_added":null,"published":"2018-05-23"},{"cvss_score":9.8,"headline":"Apache NiFi XSS issue in context path handling","id":"CVE-2017-15697","kev_date_added":null,"published":"2018-01-23"},{"cvss_score":9.8,"headline":"Injection in Apache NiFi","id":"CVE-2017-5636","kev_date_added":null,"published":"2017-10-19"},{"cvss_score":8.8,"headline":"Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests","id":"CVE-2026-68981","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":8.8,"headline":"Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources","id":"CVE-2023-36542","kev_date_added":null,"published":"2023-07-29"},{"cvss_score":8.8,"headline":"Apache NiFi: Potential Code Injection with Database Services using H2","id":"CVE-2023-34468","kev_date_added":null,"published":"2023-06-12"},{"cvss_score":8.8,"headline":"Improper Neutralization of Command Elements in Shell User Group Provider","id":"CVE-2022-33140","kev_date_added":null,"published":"2022-06-15"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-30","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can bypass authorization checks to access unauthorized Parameter Contexts and Controller Services when creating Process Groups in Apache NiFi.","url":"https://insights.sbomify.com/CVE-2024-56512/"}