CVE-2022-33140

Improper Neutralization of Command Elements in Shell User Group Provider

HIGH
8.8
CVSS Score
Published: June 15, 2022 at 02:25 PM UTC
Updated: June 17, 2026 at 04:48 AM UTC
2 products affected across 1 vendorNifiNifi Registry· also runs on 2 platforms

Using Apache NiFi by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache NiFi - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.10.0 ≤ v ≤ 1.16.21.10.0 ≤ v < 1.10.0*up to 1.16.2 ≤ v ≤ 1.16.21.10.0
Affected range stops below 1.10.0*, so it looks safe — our inference, not a vendor statement
apple-macos (environment) · linux-linux-kernel (environment)
0.6.0 ≤ v ≤ 1.16.20.6.0 ≤ v < 0.6.0*up to 1.16.2 ≤ v ≤ 1.16.20.6.0
Affected range stops below 0.6.0*, so it looks safe — our inference, not a vendor statement
apple-macos (environment) · linux-linux-kernel (environment)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_MISCIssue TrackingVendor Advisory
https://nifi.apache.org/security.html#CVE-2022-33140

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card