[MAVEN:GHSA-77HF-23PQ-2G7C] Code injection in Apache NiFi and NiFi Registry

Severity High
Affected Packages 2
Fixed Packages 2
CVEs 1

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.

Package Affected Version
pkg:maven/org.apache.nifi/nifi >= 1.10.0, < 1.16.3
pkg:maven/org.apache.nifi.registry/nifi-registry-core >= 0.6.0, < 1.16.3
ID
MAVEN:GHSA-77HF-23PQ-2G7C
Severity
high
URL
https://github.com/advisories/GHSA-77hf-23pq-2g7c
Published
2022-06-16T00:00:26
(2 years ago)
Modified
2023-02-01T05:04:39
(19 months ago)
Rights
Maven Security Team
Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:maven/org.apache.nifi/nifi org.apache.nifi nifi >= 1.10.0 < 1.16.3
Fixed pkg:maven/org.apache.nifi/nifi org.apache.nifi nifi = 1.16.3
Affected pkg:maven/org.apache.nifi.registry/nifi-registry-core org.apache.nifi.registry nifi-registry-core >= 0.6.0 < 1.16.3
Fixed pkg:maven/org.apache.nifi.registry/nifi-registry-core org.apache.nifi.registry nifi-registry-core = 1.16.3
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...