This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
The following commit(s) were added to refs/heads/main by this push:
new fefe23e9 NIFI-16644 Added sections to Security Model on Components and
Authorization
fefe23e9 is described below
commit fefe23e90a244a630f9ebd669234ea75dfa13c81
Author: exceptionfactory <[email protected]>
AuthorDate: Mon Nov 30 23:12:40 2026 -0600
NIFI-16644 Added sections to Security Model on Components and Authorization
---
content/documentation/security.md | 43 ++++++++++++++++++++++++++++++++++-----
1 file changed, 38 insertions(+), 5 deletions(-)
diff --git a/content/documentation/security.md
b/content/documentation/security.md
index 8f939b15..2222cf2c 100644
--- a/content/documentation/security.md
+++ b/content/documentation/security.md
@@ -31,19 +31,52 @@ and authorized users are responsible for the security of
operating system comman
also responsible for designing processing pipelines with security measures
appropriate to the level of trust expected
for systems and services providing input to such processing pipelines.
+### Component Configuration Security
+
Configuring dangerous operating system commands or custom scripts is not a
project security vulnerability.
-The framework supports configurable permissions that enable authorized users
to execute code
-using several standard components. Components such as ExecuteProcess and
ExecuteStreamCommand support
-running operating system commands, while other scripted components support
executing custom code using
-different programming languages. Configuring these components with untrusted
commands or arguments is
-contrary to best practices, but it does not constitute of security issue for
remediation.
+Components such as ExecuteProcess and ExecuteStreamCommand support running
operating system commands, while other
+scripted components support executing custom code using different programming
languages. Configuring these components
+with untrusted commands or arguments is contrary to best practices, but it
does not constitute a security issue for
+remediation.
+
+Processors such as ListFile and FetchFile support enumerating and reading
operating system directories and files as the
+system user. It is the responsibility of the pipeline designer to select and
validate property values for such
+Processors in order to avoid unexpected behavior.
+
+Processors such as ListenHTTP and HandleHttpRequest support receiving HTTP
requests with or without TLS. The pipeline
+designer must configure sufficient network boundary protection against
dangerous request headers or payloads. Such
+Processors may implement basic filtering strategies, but the security of the
pipeline depends on filtering external to
+these Processors, and handling decisions after receiving initial requests.
Configuring a Processor such as ListenHTTP
+connected to other Processors, without any kind of external or internal
filtering, does not constitute a security
+vulnerability.
+
+### Application Communication Security
The application implements process management and diagnostic operations using
the HTTP protocol, with the default
configuration binding to the localhost address. Privileged administrators can
configure process management on an
alternative address, which can alter the security posture of the application.
It is the responsibility of privileged
administrators to implement other protection strategies when changing the
default bind address.
+The application supports clustering multiple nodes using a dedicated socket
protocol, which an administrator must
+restrict to cluster members. Cluster communication uses mutual TLS when the
configuration includes a private key, server
+certificate, and trusted certificate authorities. Cluster communication over
TLS restricts access based on trusted
+certificate authorities, requiring a certificate issuer scoped to the cluster
to ensure limited access. The application
+supports a configurable list of allowed Internet Protocol addresses to
restrict cluster communication, and it is the
+responsibility of the application administrator to implement adequate network
boundary protection of the ports used for
+the cluster protocol.
+
+### REST API Authorization Security
+
+The application supports multiple users with different levels of access, but
the level of access includes both explicit
+and implicit privileges. The project deprecated historical support for
component-level restrictions in version 2.8.0
+and removed enforcement of the Restricted annotation in version 2.10.0. The
project also deprecated fine-grained
+authorization for components and process groups in version 2.12.0. These
deprecations reflect the current security
+expectations for authorization of REST API operations. Based on these
expectations, users with write access to a process
+group have privileges to configure custom code, which includes operating
system access as the system user. For this
+reason, apparent gaps in authorization handling code may not constitute
security vulnerabilities when the user already
+has write access to configure a Processor.
+
## Reporting Process
- Notify the project on initial discovery of a potential security vulnerability