CVE-2023-36542
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.
Weakness
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2024-10-03 |
Timeline
- 2023-07-29Published by the CNA07:12 UTC
- 2023-07-29GitHub advisory published (GHSA-r969-8v3h-23v9)same day
- 2024-10-03CISA SSVC decision recorded432 days after publication
Exploit and advisory records
GitHub advisory GHSA-r969-8v3h-23v9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.nifi:nifi-cdc-mysql-bundle | from 0.0.2 before 1.23.0 | 1.23.0 |
| Maven org.apache.nifi:nifi-dbcp-service | from 0.0.2 before 1.23.0 | 1.23.0 |
| Maven org.apache.nifi:nifi-hadoop-dbcp-service | from 0.0.2 before 1.23.0 | 1.23.0 |
| Maven org.apache.nifi:nifi-hbase_2-client-service | from 0.0.2 before 1.23.0 | 1.23.0 |
| Maven org.apache.nifi:nifi-hikari-dbcp-service | from 0.0.2 before 1.23.0 | 1.23.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache nifi | from 0.0.2 through 1.22.0no fix listed | not listed |
References
- https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof
- https://nifi.apache.org/security.html#CVE-2023-36542
- http://seclists.org/fulldisclosure/2023/Jul/43
- http://www.openwall.com/lists/oss-security/2023/07/29/1
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-36542'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-36542'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-36542'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-36542'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).