CVE-2022-33140

Published on: Not Yet Published

Last Modified on: 06/23/2022 04:46:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Certain versions of Nifi from Apache contain the following vulnerability:

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.

  • CVE-2022-33140 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo Apache Software Foundation - Apache NiFi version <= 1.16.2
  • Affected Vendor/Software: URL Logo Apache Software Foundation - Apache NiFi version >= 1.10.0
  • Affected Vendor/Software: URL Logo Apache Software Foundation - Apache NiFi Registry version <= 1.16.2
  • Affected Vendor/Software: URL Logo Apache Software Foundation - Apache NiFi Registry version >= 0.6.0
Vulnerability Patch/Work Around
  • Disabling the ShellUserGroupProvider mitigates the vulnerability.

CVSS3 Score: 8.8 - HIGH

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

CVSS2 Score: 6 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK MEDIUM SINGLE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL PARTIAL PARTIAL

CVE References

Description Tags Link
No Description Provided lists.apache.org
text/html
URL Logo MISC lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr
Apache NiFi Security Reports nifi.apache.org
text/html
URL Logo MISC nifi.apache.org/security.html#CVE-2022-33140

Related QID Numbers

  • 730585 Apache NiFi Command Injection Vulnerability (NIFI-10114)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationApacheNifiAllAllAllAll
ApplicationApacheNifi RegistryAllAllAllAll
Operating
System
AppleMacos-AllAllAll
Operating
System
LinuxLinux Kernel-AllAllAll
  • cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:apache:nifi_registry:*:*:*:*:*:*:*:*:
  • cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*:
  • cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-33140 : The optional ShellUserGroupProvider in #Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.… twitter.com/i/web/status/1… 2022-06-15 14:32:17
Twitter Icon @Robo_Alerts Potentially Critical CVE Detected! CVE-2022-33140 The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16… twitter.com/i/web/status/1… 2022-06-15 16:56:02
Twitter Icon @RedPacketSec Apache NiFi and NiFi Registry command execution | CVE-2022-33140 - redpacketsecurity.com/apache-nifi-an… 2022-06-16 09:01:28
Twitter Icon @GrupoICA_Ciber ?APACHE? Múltiples vulnerabilidades de severidad alta en productos APACHE: CVE-2021-33036,CVE-2022-33140 Más inf… twitter.com/i/web/status/1… 2022-06-24 07:56:34
Reddit Logo Icon /r/netcve CVE-2022-33140 2022-06-15 15:59:45
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report