GHSA-77hf-23pq-2g7c

Source
https://github.com/advisories/GHSA-77hf-23pq-2g7c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77hf-23pq-2g7c/GHSA-77hf-23pq-2g7c.json
Aliases
Published
2022-06-16T00:00:26Z
Modified
2023-11-08T04:09:39.172751Z
Details

The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms. The ShellUserGroupProvider is not included in the default configuration. Command injection requires ShellUserGroupProvider to be one of the enabled User Group Providers in the Authorizers configuration. Command injection also requires an authenticated user with elevated privileges. Apache NiFi requires an authenticated user with authorization to modify access policies in order to execute the command. Apache NiFi Registry requires an authenticated user with authorization to read user groups in order to execute the command. The resolution removes command formatting based on user-provided arguments.

References

Affected packages

Maven / org.apache.nifi.registry:nifi-registry-core

Package

Name
org.apache.nifi.registry:nifi-registry-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.6.0
Fixed
1.16.3

Affected versions

0.*

0.7.0
0.8.0

1.*

1.14.0
1.15.0
1.15.1
1.15.2
1.15.3
1.16.0
1.16.1
1.16.2

Maven / org.apache.nifi:nifi

Package

Name
org.apache.nifi:nifi

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.10.0
Fixed
1.16.3

Affected versions

1.*

1.10.0
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.12.0
1.12.1
1.13.0
1.13.1
1.13.2
1.14.0
1.15.0
1.15.1
1.15.2
1.15.3
1.16.0
1.16.1
1.16.2