CVE-2022-33140: Improper Neutralization of Command Elements in Shell User Group Provider
Vulnerability summary
CVE-2022-33140 is a high (CVSS 8.8) vulnerability in apache software foundation apache nifi. EPSS estimates a 3.52% chance of exploitation in the next 30 days, higher than 89.5% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-06-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.52%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache2 products
- nifi≥ 1.10.0, ≤ 1.16.2
- nifi_registry≥ 0.6.0, ≤ 1.16.2
Apache software foundation2 products
- apache nifi≥ up to 1.16.2, ≤ 1.16.2 | ≥ 1.10.0, < 1.10.0*
- apache nifi registry≥ up to 1.16.2, ≤ 1.16.2 | ≥ 0.6.0, < 0.6.0*
Org.apache.nifi1 product
- nifi≥ 1.10.0, < 1.16.3
Org.apache.nifi.registry1 product
- nifi-registry-core≥ 0.6.0, < 1.16.3
4 vendors · 6 products
References
4 links- lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhrX Refsource MISCWEBMailing ListVendor Advisory
- github.com/apache/nifiPACKAGE