CVE-2022-33140 json
Improper Neutralization of Command Elements in Shell User Group Provider
published 4y ago modified 2mo ago also BIT-nifi-2022-33140 , EUVD-2022-5975 , GHSA-77hf-23pq-2g7c
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.nifi.registry:nifi-registry-core 1.16.3
- maven org.apache.nifi:nifi 1.16.3
Is CVE-2022-33140 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.52% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.nifi.registry:nifi-registry-core | >=0.6.0, <1.16.3 |
1.16.3 |
| maven | org.apache.nifi:nifi | >=1.10.0, <1.16.3 |
1.16.3 |
| bitnami | nifi | >=1.10.0, <=1.16.2 |
no fix listed |
Affected products
- Apache Software Foundation Apache NiFi
- Apache Software Foundation Apache NiFi Registry
Classification
References
-
lists.apache.org
/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr
web, mailing-list, vendor-advisory, advisory
-
nifi.apache.org
/security.html#CVE-2022-33140
web, issue-tracking, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-33140
advisory, web
-
github.com
/apache/nifi
package
Sources
- CVE List CVE-2022-33140
- GitHub Advisory GHSA-77hf-23pq-2g7c
- NVD CVE-2022-33140
- OSV BIT-nifi-2022-33140
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.