CVE-2022-33140: apache software foundation apache nifi OS Command Injection
Vulnerability summary
CVE-2022-33140 is a high (CVSS 8.8) OS Command Injection vulnerability in apache software foundation apache nifi. EPSS estimates a 3.82% chance of exploitation in the next 30 days, higher than 89.9% of scored vulnerabilities.
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.82%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.09 pp
From 3.73% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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