{"schemaVersion":3,"id":"CVE-2023-36542","aliases":["GHSA-r969-8v3h-23v9","BIT-nifi-2023-36542"],"status":"published","duplicateOf":null,"title":null,"description":"Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retrieving drivers, which allows an authenticated and authorized user to configure a location that enables custom code execution. The resolution introduces a new Required Permission for referencing remote resources, restricting configuration of these components to privileged users. The permission prevents unprivileged users from configuring Processors and Controller Services annotated with the new Reference Remote Resources restriction. Upgrading to Apache NiFi 1.23.0 is the recommended mitigation.","dates":{"published":"2023-07-29T07:12:18.290Z","modified":"2025-02-13T16:56:21.633Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01903,"percentile":0.79399,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01903},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01903,"percentile":0.79399}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01903,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01903,"percentile":0.79399}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"apache software foundation","product":"apache nifi","name":"Apache NiFi","label":"apache nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.2, ≤ 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, ≤ 1.22.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_nifi"},{"vendor":"apache","product":"nifi","name":"nifi","label":"nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.2, ≤ 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, ≤ 1.22.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-nifi","label":"Apache NiFi","category":"server-app"}},"hubHref":"/vendor/apache/nifi"},{"vendor":"org.apache.nifi","product":"nifi-cdc-mysql-bundle","name":"org.apache.nifi:nifi-cdc-mysql-bundle","label":"nifi-cdc-mysql-bundle","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-cdc-mysql-bundle","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-dbcp-service","name":"org.apache.nifi:nifi-dbcp-service","label":"nifi-dbcp-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-hadoop-dbcp-service","name":"org.apache.nifi:nifi-hadoop-dbcp-service","label":"nifi-hadoop-dbcp-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-hadoop-dbcp-service","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-hbase_2-client-service","name":"org.apache.nifi:nifi-hbase_2-client-service","label":"nifi-hbase_2-client-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-hbase_2-client-service","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-hikari-dbcp-service","name":"org.apache.nifi:nifi-hikari-dbcp-service","label":"nifi-hikari-dbcp-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-jms-processors","name":"org.apache.nifi:nifi-jms-processors","label":"nifi-jms-processors","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-jms-processors","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-record-serialization-services","name":"org.apache.nifi:nifi-record-serialization-services","label":"nifi-record-serialization-services","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-record-serialization-services","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-standard-processors","name":"org.apache.nifi:nifi-standard-processors","label":"nifi-standard-processors","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-standard-processors","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.23.0","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nifi.apache.org/security.html#CVE-2023-36542","label":"nifi.apache.org/security.html","hostname":"nifi.apache.org","tags":["Release Notes","WEB","Vendor Advisory"]},{"url":"https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof","label":"lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Issue Tracking","Mailing List"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/43","label":"seclists.org/fulldisclosure/2023/Jul/43","hostname":"seclists.org","tags":["WEB","Not Applicable"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/29/1","label":"www.openwall.com/lists/oss-security/2023/07/29/1","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36542","label":"nvd.nist.gov/vuln/detail/CVE-2023-36542","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi/commit/532578799c","label":"github.com/apache/nifi/commit/532578799c","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi","label":"github.com/apache/nifi","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://issues.apache.org/jira/browse/NIFI-11744","label":"issues.apache.org/jira/browse/NIFI-11744","hostname":"issues.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-07-29T07:12:18.290Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:56:21.633Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:17:07.757Z","stale":false,"partial":false}}