CVE-2022-33140 Improper Neutralization of Command Elements in Shell User Group Provider
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.nifi.registry/nifi-registry-core(Maven) | >= 0.6.0, < 1.16.3 | 1.16.3 |
| org.apache.nifi/nifi(Maven) | >= 1.10.0, < 1.16.3 | 1.16.3 |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 0.7.0 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 0.8.0 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.14.0 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.15.0 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.15.1 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.15.2 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.15.3 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.16.0 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.16.1 | No fix listed |
| org.apache.nifi.registry/nifi-registry-core(Maven) | = 1.16.2 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.10.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.11.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.11.1 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.11.2 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.11.3 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.11.4 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.12.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.12.1 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.13.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.13.1 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.13.2 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.14.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.15.0 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.nifi/nifi(Maven) | = 1.15.1 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.15.2 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.15.3 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.16.0 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.16.1 | No fix listed |
| org.apache.nifi/nifi(Maven) | = 1.16.2 | No fix listed |
| Apache NiFi | >= up to 1.16.2, <= 1.16.2 | No fix listed |
| Apache NiFi | >= 1.10.0 | No fix listed |
| Apache NiFi Registry | >= up to 1.16.2, <= 1.16.2 | No fix listed |
| Apache NiFi Registry | >= 0.6.0 | No fix listed |
| apache nifi | >= 1.10.0, <= 1.16.2 | No fix listed |
| apache nifi registry | >= 0.6.0, <= 1.16.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org mailing-list vendor-advisory
- nifi.apache.org issue-tracking vendor-advisory
- github.com
- github.com product