CVE-2022-33140
publishedImproper Neutralization of Command Elements in Shell User Group Provider
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache NiFiup to 1.16.2 through 1.16.2 · 1.10.0 to < 1.10.0* | Affected | Not stated | apache |
| Apache Software Foundation | — | Apache NiFi Registryup to 1.16.2 through 1.16.2 · 0.6.0 to < 0.6.0* | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache NiFi | up to 1.16.2 through 1.16.2 (affected · custom)1.10.0 to < 1.10.0* (affected · custom) | apache · cna |
| Apache Software Foundation | Apache NiFi Registry | up to 1.16.2 through 1.16.2 (affected · custom)0.6.0 to < 0.6.0* (affected · custom) | apache · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2Provider assertions
2apache · cna
Improper Neutralization of Command Elements in Shell User Group Provider
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9d9fe5aebb0fa58dd74417f96169d88f2b9ebf97e1ef056fdfaadbbfcf907e10
- Ingested
- 23 Sep 2026, 08:00:48 UTC
- Source record
- Official CVE record