Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.nifi/nifi
  4. ›
  5. CVE-2023-36542

CVE-2023-36542: Improper Control of Generation of Code ('Code Injection')

July 29, 2023 (updated August 3, 2023)

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.

References

  • seclists.org/fulldisclosure/2023/Jul/43
  • www.openwall.com/lists/oss-security/2023/07/29/1
  • lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof
  • nifi.apache.org/security.html
  • nvd.nist.gov/vuln/detail/CVE-2023-36542

Code Behaviors & Features

Detect and mitigate CVE-2023-36542 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.2 up to 1.22.0

Fixed versions

  • 1.23.0

Solution

Upgrade to version 1.23.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.nifi/nifi/CVE-2023-36542.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:52 +0000.