Improper Neutralization of Command Elements in Shell User Group Provider
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache NiFi | affected |
|
|||||||||
| Apache Software Foundation | Apache NiFi Registry | affected |
|
Configuration 1 [-]
| AND |
|
No data.
No data available yet.
Vendor Workaround
Disabling the ShellUserGroupProvider mitigates the vulnerability.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-5975 | 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. |
Github GHSA |
GHSA-77hf-23pq-2g7c | Code injection in Apache NiFi and NiFi Registry |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 3.5% (3.519% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.